home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1988-05-24 | 49.6 KB | [TEXT/MPS ] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| ZX81 Sinclair BASIC (image/sinclairBASIC)
| ext
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Tue May 24 00:51:19 1988, modified Tue May 24 00:51:19 1988, creator 'MPS ', type ASCII, 50148 bytes "autoexecute.p" , at 0xc464 512 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [MPS ] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0d 61 75 74 6f 65 78 | 65 63 75 74 65 2e 70 00 |..autoex|ecute.p.|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 01 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 c3 e4 00 | 00 02 00 9e be b1 c7 9e |........|........|
|00000060| be b1 c7 00 00 02 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 bb 01 00 00 |........|........|
|00000080| 7b 20 42 42 53 20 65 78 | 74 65 72 6e 61 6c 20 61 |{ BBS ex|ternal a|
|00000090| 70 70 6c 69 63 61 74 69 | 6f 6e 20 74 6f 20 74 65 |pplicati|on to te|
|000000a0| 73 74 20 74 68 65 20 7d | 0d 7b 20 61 75 74 6f 6d |st the }|.{ autom|
|000000b0| 61 74 69 63 20 74 69 6d | 65 64 20 65 78 65 63 75 |atic tim|ed execu|
|000000c0| 74 69 6f 6e 20 6f 66 20 | 73 75 63 68 20 70 72 6f |tion of |such pro|
|000000d0| 67 72 61 6d 73 20 7d 0d | 7b 20 54 68 69 73 20 76 |grams }.|{ This v|
|000000e0| 65 72 73 69 6f 6e 20 77 | 6f 72 6b 73 20 75 6e 64 |ersion w|orks und|
|000000f0| 65 72 20 4d 50 57 20 7d | 0d 7b 20 54 20 52 20 54 |er MPW }|.{ T R T|
|00000100| 65 61 67 75 65 20 2d 20 | 32 33 20 4d 61 72 20 38 |eague - |23 Mar 8|
|00000110| 38 20 7d 0d 0d 0d 7b 24 | 44 45 43 4c 20 4d 50 57 |8 }...{$|DECL MPW|
|00000120| 7d 0d 7b 24 44 45 43 4c | 20 44 65 62 75 67 7d 0d |}.{$DECL| Debug}.|
|00000130| 7b 24 53 45 54 43 20 4d | 50 57 20 3a 3d 20 74 72 |{$SETC M|PW := tr|
|00000140| 75 65 7d 0d 7b 24 53 45 | 54 43 20 44 65 62 75 67 |ue}.{$SE|TC Debug|
|00000150| 20 3a 3d 20 66 61 6c 73 | 65 7d 0d 0d 70 72 6f 67 | := fals|e}..prog|
|00000160| 72 61 6d 20 41 75 74 6f | 5f 45 78 65 63 75 74 65 |ram Auto|_Execute|
|00000170| 3b 0d 0d 75 73 65 73 0d | 20 20 20 20 20 4d 65 6d |;..uses.| Mem|
|00000180| 54 79 70 65 73 2c 0d 20 | 20 20 20 20 51 75 69 63 |Types,. | Quic|
|00000190| 6b 44 72 61 77 2c 0d 20 | 20 20 20 20 4f 53 49 6e |kDraw,. | OSIn|
|000001a0| 74 66 2c 0d 20 20 20 20 | 20 54 6f 6f 6c 49 6e 74 |tf,. | ToolInt|
|000001b0| 66 2c 0d 20 20 20 20 20 | 50 61 63 6b 49 6e 74 66 |f,. |PackIntf|
|000001c0| 2c 0d 20 20 20 20 20 50 | 61 73 4c 69 62 49 6e 74 |,. P|asLibInt|
|000001d0| 66 2c 0d 20 20 20 20 20 | 49 6e 74 45 6e 76 3b 0d |f,. |IntEnv;.|
|000001e0| 0d 7b 24 49 46 43 20 44 | 65 62 75 67 7d 0d 7b 24 |.{$IFC D|ebug}.{$|
|000001f0| 44 2b 7d 0d 7b 24 45 4c | 53 45 43 7d 0d 7b 24 44 |D+}.{$EL|SEC}.{$D|
|00000200| 2d 7d 0d 7b 24 45 4e 44 | 43 7d 0d 0d 7b 20 53 74 |-}.{$END|C}..{ St|
|00000210| 61 6e 64 61 72 64 20 63 | 6f 6e 73 74 27 73 2c 20 |andard c|onst's, |
|00000220| 74 79 70 65 73 2c 20 76 | 61 72 73 20 66 6f 72 20 |types, v|ars for |
|00000230| 42 42 53 20 66 69 6c 65 | 73 20 7d 0d 0d 63 6f 6e |BBS file|s }..con|
|00000240| 73 74 0d 20 20 20 20 20 | 73 74 72 6c 65 6e 20 3d |st. |strlen =|
|00000250| 20 31 36 30 3b 20 7b 20 | 6c 65 6e 67 74 68 20 6f | 160; { |length o|
|00000260| 66 20 73 74 72 69 6e 67 | 20 7d 0d 09 20 0d 09 20 |f string| }.. .. |
|00000270| 62 75 66 66 65 72 5f 4d | 61 78 20 20 20 20 3d 20 |buffer_M|ax = |
|00000280| 35 31 32 30 3b 0d 0d 20 | 20 20 20 20 7b 20 75 73 |5120;.. | { us|
|00000290| 65 72 2d 6d 6f 64 69 66 | 61 62 6c 65 20 72 65 73 |er-modif|able res|
|000002a0| 6f 75 72 63 65 73 20 7d | 0d 0d 20 20 20 20 20 53 |ources }|.. S|
|000002b0| 74 72 49 44 20 3d 20 31 | 30 30 30 3b 0d 20 20 20 |trID = 1|000;. |
|000002c0| 20 20 4e 75 6d 53 74 72 | 49 74 65 6d 73 20 3d 20 | NumStr|Items = |
|000002d0| 31 32 3b 0d 0d 20 20 20 | 20 20 44 4c 6f 61 64 73 |12;.. | DLoads|
|000002e0| 53 74 72 49 44 20 3d 20 | 31 30 30 31 3b 0d 20 20 |StrID = |1001;. |
|000002f0| 20 20 20 4d 73 67 73 53 | 74 72 49 44 20 3d 20 31 | MsgsS|trID = 1|
|00000300| 30 30 32 3b 0d 20 20 20 | 20 20 0d 20 20 20 20 20 |002;. | . |
|00000310| 48 65 6c 70 53 74 72 49 | 44 20 3d 20 31 30 30 33 |HelpStrI|D = 1003|
|00000320| 3b 0d 20 20 20 20 20 4d | 65 6e 75 53 74 72 49 44 |;. M|enuStrID|
|00000330| 20 3d 20 31 30 30 34 3b | 0d 0d 20 20 20 20 20 44 | = 1004;|.. D|
|00000340| 65 6c 61 79 49 44 20 3d | 20 31 30 30 30 3b 20 7b |elayID =| 1000; {|
|00000350| 20 4a 75 67 67 6c 65 72 | 20 44 65 6c 61 79 20 7d | Juggler| Delay }|
|00000360| 0d 0d 20 20 20 20 20 6e | 75 6d 63 6f 6d 70 74 79 |.. n|umcompty|
|00000370| 70 65 73 20 3d 20 31 31 | 3b 0d 20 20 20 20 20 20 |pes = 11|;. |
|00000380| 0d 20 20 20 20 20 4d 6f | 64 65 6d 53 74 72 49 44 |. Mo|demStrID|
|00000390| 20 3d 20 31 30 30 35 3b | 0d 20 20 20 20 20 7b 20 | = 1005;|. { |
|000003a0| 6d 6f 64 65 6d 20 70 61 | 72 61 6d 65 74 65 72 73 |modem pa|rameters|
|000003b0| 20 7d 0d 20 20 20 20 20 | 6d 6e 61 6d 65 49 74 65 | }. |mnameIte|
|000003c0| 6d 20 3d 20 31 3b 0d 20 | 20 20 20 20 6d 69 6e 69 |m = 1;. | mini|
|000003d0| 74 49 74 65 6d 20 3d 20 | 32 3b 0d 20 20 20 20 20 |tItem = |2;. |
|000003e0| 6d 68 61 6e 67 49 74 65 | 6d 20 3d 20 33 3b 0d 20 |mhangIte|m = 3;. |
|000003f0| 20 20 20 20 6d 6d 69 6e | 69 49 6e 69 74 49 74 65 | mmin|iInitIte|
|00000400| 6d 20 3d 20 34 3b 0d 20 | 20 20 20 20 6d 6d 69 6e |m = 4;. | mmin|
|00000410| 69 44 69 61 6c 49 74 65 | 6d 20 3d 20 35 3b 0d 20 |iDialIte|m = 5;. |
|00000420| 20 20 20 20 6d 6d 69 6e | 69 45 6e 64 49 74 65 6d | mmin|iEndItem|
|00000430| 20 3d 20 36 3b 0d 20 20 | 20 20 20 6d 78 66 65 72 | = 6;. | mxfer|
|00000440| 54 78 49 6e 69 74 49 74 | 65 6d 20 3d 20 37 3b 0d |TxInitIt|em = 7;.|
|00000450| 20 20 20 20 20 6d 78 66 | 65 72 54 78 45 6e 64 49 | mxf|erTxEndI|
|00000460| 74 65 6d 20 3d 20 38 3b | 0d 20 20 20 20 20 6d 78 |tem = 8;|. mx|
|00000470| 66 65 72 52 78 49 6e 69 | 74 49 74 65 6d 20 3d 20 |ferRxIni|tItem = |
|00000480| 39 3b 0d 20 20 20 20 20 | 6d 78 66 65 72 52 78 45 |9;. |mxferRxE|
|00000490| 6e 64 49 74 65 6d 20 3d | 20 31 30 3b 0d 20 20 20 |ndItem =| 10;. |
|000004a0| 20 20 6d 63 6f 6e 6e 65 | 63 74 49 74 65 6d 20 3d | mconne|ctItem =|
|000004b0| 20 31 31 3b 0d 0d 09 7b | 20 72 65 73 6f 75 72 63 | 11;...{| resourc|
|000004c0| 65 20 49 44 73 2f 6d 65 | 6e 75 20 49 44 73 20 66 |e IDs/me|nu IDs f|
|000004d0| 6f 72 20 41 70 70 6c 65 | 2c 20 46 69 6c 65 20 61 |or Apple|, File a|
|000004e0| 6e 64 20 45 64 69 74 20 | 6d 65 6e 75 73 20 7d 0d |nd Edit |menus }.|
|000004f0| 09 61 70 70 6c 65 49 44 | 09 09 3d 09 31 30 30 30 |.appleID|..=.1000|
|00000500| 3b 0d 09 66 69 6c 65 49 | 44 09 09 3d 09 31 30 30 |;..fileI|D..=.100|
|00000510| 31 3b 0d 09 65 64 69 74 | 49 44 09 09 3d 09 31 30 |1;..edit|ID..=.10|
|00000520| 30 32 3b 0d 0d 74 79 70 | 65 0d 20 20 20 20 20 66 |02;..typ|e. f|
|00000530| 69 6c 65 74 79 70 65 20 | 3d 20 66 69 6c 65 3b 20 |iletype |= file; |
|00000540| 7b 20 75 6e 74 79 70 65 | 64 20 66 69 6c 65 2d 74 |{ untype|d file-t|
|00000550| 79 70 65 20 66 6f 72 20 | 70 72 6f 63 65 64 75 72 |ype for |procedur|
|00000560| 65 20 70 61 72 61 6d 65 | 74 65 72 20 70 61 73 73 |e parame|ter pass|
|00000570| 69 6e 67 20 7d 0d 0d 20 | 20 20 20 20 73 74 72 74 |ing }.. | strt|
|00000580| 79 70 65 3d 73 74 72 69 | 6e 67 5b 73 74 72 6c 65 |ype=stri|ng[strle|
|00000590| 6e 5d 3b 20 7b 20 73 74 | 72 69 6e 67 20 74 79 70 |n]; { st|ring typ|
|000005a0| 65 20 7d 0d 0d 7b 20 65 | 6e 75 6d 65 72 61 74 65 |e }..{ e|numerate|
|000005b0| 64 20 6c 69 73 74 20 6f | 66 20 75 73 65 72 20 72 |d list o|f user r|
|000005c0| 65 73 74 72 69 63 74 69 | 6f 6e 73 20 2d 20 6d 6f |estricti|ons - mo|
|000005d0| 64 69 66 69 65 64 20 66 | 6f 72 20 76 65 72 73 69 |dified f|or versi|
|000005e0| 6f 6e 20 33 2e 30 20 7d | 0d 7b 20 0d 20 20 6c 6f |on 3.0 }|.{ . lo|
|000005f0| 67 6f 6e 73 20 32 2f 64 | 61 79 20 28 27 4c 27 29 |gons 2/d|ay ('L')|
|00000600| 2c 20 6e 6f 20 63 68 61 | 74 74 69 6e 67 20 28 27 |, no cha|tting ('|
|00000610| 43 27 29 2c 20 75 6e 76 | 61 6c 69 64 61 74 65 64 |C'), unv|alidated|
|00000620| 20 6d 65 73 73 61 67 65 | 73 20 28 27 56 27 29 2c | message|s ('V'),|
|00000630| 20 6e 6f 20 62 61 63 6b | 73 70 61 63 69 6e 67 20 | no back|spacing |
|00000640| 28 27 42 27 29 2c 0d 20 | 20 63 61 6e 27 74 20 63 |('B'),. | can't c|
|00000650| 68 61 6e 67 65 20 61 75 | 74 6f 6d 73 67 2f 61 64 |hange au|tomsg/ad|
|00000660| 64 20 74 6f 20 42 42 53 | 20 6c 69 73 74 20 28 27 |d to BBS| list ('|
|00000670| 41 27 29 2c 20 63 61 6e | 27 74 20 70 6f 73 74 20 |A'), can|'t post |
|00000680| 61 6e 6f 6e 79 6d 6f 75 | 73 20 6d 73 67 73 20 28 |anonymou|s msgs (|
|00000690| 27 2a 27 29 2c 0d 20 20 | 63 61 6e 27 74 20 70 6f |'*'),. |can't po|
|000006a0| 73 74 20 61 74 20 61 6c | 6c 20 28 27 50 27 29 2c |st at al|l ('P'),|
|000006b0| 20 63 61 6e 27 74 20 73 | 65 6e 64 20 73 65 6e 64 | can't s|end send|
|000006c0| 20 45 2d 4d 61 69 6c 20 | 28 27 45 27 29 2c 20 63 | E-Mail |('E'), c|
|000006d0| 61 6e 27 74 20 76 6f 74 | 65 20 28 27 4b 27 29 2c |an't vot|e ('K'),|
|000006e0| 0d 20 20 63 61 6e 27 74 | 20 61 75 74 6f 2d 64 65 |. can't| auto-de|
|000006f0| 6c 65 74 65 20 6d 73 67 | 73 20 28 27 4d 27 29 2c |lete msg|s ('M'),|
|00000700| 20 63 61 6e 27 74 20 64 | 6f 77 6e 6c 6f 61 64 20 | can't d|ownload |
|00000710| 69 66 20 75 70 6c 6f 61 | 64 2f 64 6f 77 6e 6c 6f |if uploa|d/downlo|
|00000720| 61 64 20 72 61 74 69 6f | 20 65 78 63 65 65 64 65 |ad ratio| exceede|
|00000730| 64 20 28 27 44 27 29 0d | 7d 0d 72 65 73 74 72 69 |d ('D').|}.restri|
|00000740| 63 74 69 6f 6e 73 3d 28 | 72 6c 6f 67 6f 6e 2c 72 |ctions=(|rlogon,r|
|00000750| 63 68 61 74 2c 72 76 61 | 6c 69 64 61 74 65 2c 72 |chat,rva|lidate,r|
|00000760| 62 61 63 6b 73 70 61 63 | 65 2c 72 61 6d 73 67 2c |backspac|e,ramsg,|
|00000770| 72 70 6f 73 74 61 6e 2c | 0d 20 20 20 20 20 20 20 |rpostan,|. |
|00000780| 20 20 20 20 20 20 20 20 | 20 20 20 20 72 70 6f 73 | | rpos|
|00000790| 74 2c 72 65 6d 61 69 6c | 2c 72 76 6f 74 69 6e 67 |t,remail|,rvoting|
|000007a0| 2c 72 6d 73 67 2c 72 64 | 6c 29 3b 20 0d 0d 20 20 |,rmsg,rd|l); .. |
|000007b0| 20 20 20 61 63 72 71 3d | 27 40 27 2e 2e 27 47 27 | acrq=|'@'..'G'|
|000007c0| 3b 20 7b 20 62 6f 61 72 | 64 20 61 63 63 65 73 73 |; { boar|d access|
|000007d0| 20 3a 20 6e 6f 6e 65 2c | 20 41 20 2d 3e 20 47 20 | : none,| A -> G |
|000007e0| 2d 20 6e 6f 74 20 72 65 | 61 6c 6c 79 20 75 73 65 |- not re|ally use|
|000007f0| 64 20 7d 0d 0d 7b 20 65 | 6d 75 6e 65 72 61 74 65 |d }..{ e|munerate|
|00000800| 64 20 75 73 65 72 20 64 | 65 66 61 75 6c 74 73 20 |d user d|efaults |
|00000810| 3a 20 73 70 69 6e 6e 69 | 6e 67 20 63 75 72 73 6f |: spinni|ng curso|
|00000820| 72 2c 20 6f 6e 65 6b 65 | 79 20 69 6e 70 75 74 2c |r, oneke|y input,|
|00000830| 20 77 6f 72 64 20 77 72 | 61 70 2c 20 73 63 72 65 | word wr|ap, scre|
|00000840| 65 6e 20 70 61 75 73 65 | 20 7d 0d 20 20 20 20 20 |en pause| }. |
|00000850| 64 65 66 6c 74 73 3d 28 | 73 70 63 73 72 2c 6f 6e |deflts=(|spcsr,on|
|00000860| 65 6b 65 79 2c 77 6f 72 | 64 77 72 61 70 2c 70 61 |ekey,wor|dwrap,pa|
|00000870| 75 73 65 29 3b 0d 0d 7b | 20 65 6d 75 6e 65 72 61 |use);..{| emunera|
|00000880| 74 65 64 20 61 6e 6f 6e | 20 6d 73 67 20 62 6f 61 |ted anon| msg boa|
|00000890| 72 64 20 74 79 70 65 73 | 20 3a 20 6e 6f 2c 20 79 |rd types| : no, y|
|000008a0| 65 73 2c 20 66 6f 72 63 | 65 64 2c 20 64 65 61 72 |es, forc|ed, dear|
|000008b0| 61 62 62 79 20 7d 0d 20 | 20 20 20 20 61 6e 6f 6e |abby }. | anon|
|000008c0| 74 79 70 3d 28 6e 6f 2c | 79 65 73 2c 66 6f 72 63 |typ=(no,|yes,forc|
|000008d0| 65 64 2c 64 65 61 72 61 | 62 62 79 29 3b 20 0d 0d |ed,deara|bby); ..|
|000008e0| 7b 20 65 6e 75 6d 65 72 | 61 74 65 64 20 73 65 63 |{ enumer|ated sec|
|000008f0| 75 72 69 74 79 20 6c 65 | 76 65 6c 20 74 79 70 65 |urity le|vel type|
|00000900| 73 20 3a 20 63 61 6e 20 | 70 6f 73 74 2c 20 63 61 |s : can |post, ca|
|00000910| 6e 20 45 2d 4d 61 69 6c | 2c 20 63 61 6e 20 70 6f |n E-Mail|, can po|
|00000920| 73 74 20 61 6e 6f 6e 79 | 6d 6f 75 73 6c 79 2c 20 |st anony|mously, |
|00000930| 0d 20 20 63 61 6e 20 73 | 65 65 20 61 6e 6f 6e 20 |. can s|ee anon |
|00000940| 6e 61 6d 65 73 20 6f 6e | 20 6d 73 67 73 2c 20 20 |names on| msgs, |
|00000950| 63 6f 2d 73 79 73 6f 70 | 2c 20 6c 69 6d 69 74 65 |co-sysop|, limite|
|00000960| 64 20 63 6f 2d 73 79 73 | 6f 70 20 7d 0d 20 20 20 |d co-sys|op }. |
|00000970| 20 20 61 6e 73 74 74 79 | 70 65 3d 28 70 6f 73 74 | anstty|pe=(post|
|00000980| 6e 2c 65 6d 61 69 6c 6e | 2c 70 61 6e 61 2c 73 61 |n,emailn|,pana,sa|
|00000990| 6e 6d 2c 63 6f 73 79 73 | 6f 70 2c 6c 63 6f 73 79 |nm,cosys|op,lcosy|
|000009a0| 73 6f 70 29 3b 0d 0d 7b | 20 65 6e 75 6d 65 72 61 |sop);..{| enumera|
|000009b0| 74 65 64 20 73 70 65 63 | 69 61 6c 20 75 73 65 72 |ted spec|ial user|
|000009c0| 20 61 6c 65 72 74 73 20 | 3a 20 61 6c 65 72 74 2c | alerts |: alert,|
|000009d0| 20 63 61 6e 27 74 20 3f | 3f 3f 2c 20 63 61 6e 27 | can't ?|??, can'|
|000009e0| 74 20 72 65 63 65 69 76 | 65 20 45 2d 4d 61 69 6c |t receiv|e E-Mail|
|000009f0| 20 7d 0d 20 20 20 20 20 | 6f 70 74 73 3d 28 6d 79 | }. |opts=(my|
|00000a00| 61 6c 65 72 74 2c 73 6d | 77 2c 6e 6f 6d 61 69 6c |alert,sm|w,nomail|
|00000a10| 29 3b 20 0d 20 20 20 20 | 20 0d 09 20 7b 20 6d 6f |); . | .. { mo|
|00000a20| 64 69 66 69 65 64 20 66 | 6f 72 20 76 65 72 73 69 |dified f|or versi|
|00000a30| 6f 6e 20 31 2e 31 20 26 | 20 32 2e 30 20 26 20 33 |on 1.1 &| 2.0 & 3|
|00000a40| 2e 30 20 7d 0d 09 20 70 | 6e 72 3d 72 65 63 6f 72 |.0 }.. p|nr=recor|
|00000a50| 64 20 7b 20 70 68 6f 6e | 65 20 6e 6f 2e 20 69 6e |d { phon|e no. in|
|00000a60| 66 6f 20 2d 20 66 6f 72 | 20 73 79 73 6f 70 27 73 |fo - for| sysop's|
|00000a70| 20 6d 69 6e 69 2d 74 65 | 72 6d 69 6e 61 6c 20 7d | mini-te|rminal }|
|00000a80| 0d 09 20 20 20 20 20 20 | 20 6e 61 6d 65 3a 73 74 |.. | name:st|
|00000a90| 72 69 6e 67 5b 33 39 5d | 3b 20 7b 20 6e 61 6d 65 |ring[39]|; { name|
|00000aa0| 20 6f 66 20 42 42 53 20 | 73 65 72 76 69 63 65 20 | of BBS |service |
|00000ab0| 7d 0d 09 20 20 20 20 20 | 20 20 6e 75 6d 62 65 72 |}.. | number|
|00000ac0| 3a 73 74 72 69 6e 67 5b | 33 32 5d 3b 20 7b 20 70 |:string[|32]; { p|
|00000ad0| 68 6f 6e 65 20 6e 6f 2e | 20 7d 20 0d 09 20 20 20 |hone no.| } .. |
|00000ae0| 20 20 20 20 68 73 3a 62 | 79 74 65 3b 20 7b 20 62 | hs:b|yte; { b|
|00000af0| 61 75 64 20 72 61 74 65 | 20 2d 20 33 30 30 2f 31 |aud rate| - 300/1|
|00000b00| 32 30 30 2f 32 34 30 30 | 2f 39 36 30 30 2f 31 39 |200/2400|/9600/19|
|00000b10| 32 30 30 20 7d 0d 09 20 | 20 20 20 20 65 6e 64 3b |200 }.. | end;|
|00000b20| 0d 20 20 20 20 20 73 6c | 72 3d 72 65 63 6f 72 64 |. sl|r=record|
|00000b30| 20 7b 20 73 65 63 75 72 | 69 74 79 20 6c 65 76 65 | { secur|ity leve|
|00000b40| 6c 20 69 6e 66 6f 20 7d | 0d 20 20 20 20 20 20 20 |l info }|. |
|00000b50| 20 20 20 20 74 74 69 6d | 65 3a 62 79 74 65 3b 20 | ttim|e:byte; |
|00000b60| 7b 20 6d 61 78 2e 20 6e | 6f 2e 20 6f 66 20 6d 69 |{ max. n|o. of mi|
|00000b70| 6e 73 20 61 6c 6c 6f 77 | 65 64 20 6f 6e 20 7d 0d |ns allow|ed on }.|
|00000b80| 20 20 20 20 20 20 20 20 | 20 20 20 6d 61 6c 6c 6f | | mallo|
|00000b90| 77 65 64 3a 69 6e 74 65 | 67 65 72 3b 20 7b 20 6d |wed:inte|ger; { m|
|00000ba0| 61 78 2e 20 6e 6f 2e 20 | 6f 66 20 6d 73 67 73 20 |ax. no. |of msgs |
|00000bb0| 61 6c 6c 6f 77 65 64 20 | 74 6f 20 62 65 20 72 65 |allowed |to be re|
|00000bc0| 61 64 20 7d 0d 20 20 20 | 20 20 20 20 20 20 20 20 |ad }. | |
|00000bd0| 65 6d 61 69 6c 73 2c 70 | 6f 73 74 73 3a 62 79 74 |emails,p|osts:byt|
|00000be0| 65 3b 20 7b 20 6d 61 78 | 2e 20 6e 6f 2e 20 6f 66 |e; { max|. no. of|
|00000bf0| 20 45 2d 4d 61 69 6c 20 | 61 6e 64 20 6d 73 67 73 | E-Mail |and msgs|
|00000c00| 20 74 6f 20 62 65 20 70 | 6f 73 74 65 64 20 7d 0d | to be p|osted }.|
|00000c10| 20 20 20 20 20 20 20 20 | 20 20 20 61 6e 73 74 3a | | anst:|
|00000c20| 73 65 74 20 6f 66 20 61 | 6e 73 74 74 79 70 65 3b |set of a|nsttype;|
|00000c30| 20 7b 20 73 65 74 20 6f | 66 20 73 65 63 75 72 69 | { set o|f securi|
|00000c40| 74 79 20 6c 65 76 65 6c | 20 74 79 70 65 73 20 20 |ty level| types |
|00000c50| 2d 20 73 65 65 20 61 62 | 6f 76 65 20 7d 0d 20 20 |- see ab|ove }. |
|00000c60| 20 20 20 20 20 20 20 65 | 6e 64 3b 0d 20 20 20 20 | e|nd;. |
|00000c70| 20 6d 65 73 73 61 67 65 | 73 3d 72 65 63 6f 72 64 | message|s=record|
|00000c80| 20 7b 20 6d 73 67 73 20 | 66 69 6c 65 6e 61 6d 65 | { msgs |filename|
|00000c90| 20 69 6e 66 6f 20 20 2d | 20 65 2e 67 20 66 69 6c | info -| e.g fil|
|00000ca0| 65 6e 61 6d 65 20 6f 66 | 20 66 6f 72 6d 20 41 2d |ename of| form A-|
|00000cb0| 33 32 37 36 37 2e 31 20 | 7d 0d 20 20 20 20 20 20 |32767.1 |}. |
|00000cc0| 20 20 20 20 20 20 20 20 | 20 20 6c 74 72 3a 63 68 | | ltr:ch|
|00000cd0| 61 72 3b 20 7b 20 62 6f | 61 72 64 20 6c 65 74 74 |ar; { bo|ard lett|
|00000ce0| 65 72 20 28 69 2e 65 2e | 20 41 20 3d 20 62 6f 61 |er (i.e.| A = boa|
|00000cf0| 72 64 20 6e 6f 2e 20 31 | 29 20 7d 0d 20 20 20 20 |rd no. 1|) }. |
|00000d00| 20 20 20 20 20 20 20 20 | 20 20 20 20 6e 75 6d 62 | | numb|
|00000d10| 65 72 3a 69 6e 74 65 67 | 65 72 3b 20 7b 20 75 6e |er:integ|er; { un|
|00000d20| 69 71 75 65 20 6d 73 67 | 20 6e 75 6d 62 65 72 20 |ique msg| number |
|00000d30| 7d 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |}. | |
|00000d40| 20 20 65 78 74 3a 62 79 | 74 65 3b 20 7b 20 75 6e | ext:by|te; { un|
|00000d50| 69 71 75 65 20 6d 73 67 | 20 6e 75 6d 62 65 72 20 |ique msg| number |
|00000d60| 66 6f 72 20 66 69 6c 65 | 6e 61 6d 65 20 65 78 74 |for file|name ext|
|00000d70| 65 6e 73 69 6f 6e 20 28 | 4d 53 2d 44 4f 53 29 20 |ension (|MS-DOS) |
|00000d80| 7d 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |}. | |
|00000d90| 65 6e 64 3b 0d 20 20 20 | 20 20 73 6d 61 6c 72 65 |end;. | smalre|
|00000da0| 63 3d 72 65 63 6f 72 64 | 20 7b 20 6e 61 6d 65 73 |c=record| { names|
|00000db0| 20 6c 69 73 74 20 6f 66 | 20 75 73 65 72 73 20 7d | list of| users }|
|00000dc0| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00000dd0| 6e 61 6d 65 3a 73 74 72 | 69 6e 67 5b 32 35 5d 3b |name:str|ing[25];|
|00000de0| 20 7b 20 61 6c 69 61 73 | 20 7d 0d 20 20 20 20 20 | { alias| }. |
|00000df0| 20 20 20 20 20 20 20 20 | 20 20 6e 75 6d 62 65 72 | | number|
|00000e00| 3a 69 6e 74 65 67 65 72 | 3b 20 7b 20 75 73 65 72 |:integer|; { user|
|00000e10| 20 6e 6f 2e 20 7d 0d 20 | 20 20 20 20 20 20 20 20 | no. }. | |
|00000e20| 20 20 20 20 65 6e 64 3b | 0d 20 20 20 20 20 75 73 | end;|. us|
|00000e30| 65 72 72 65 63 3d 72 65 | 63 6f 72 64 20 7b 20 75 |errec=re|cord { u|
|00000e40| 73 65 72 20 69 6e 66 6f | 20 7d 0d 20 20 20 20 20 |ser info| }. |
|00000e50| 20 20 20 20 20 20 20 20 | 20 20 6e 61 6d 65 3a 73 | | name:s|
|00000e60| 74 72 69 6e 67 5b 32 35 | 5d 3b 20 7b 20 61 6c 69 |tring[25|]; { ali|
|00000e70| 61 73 20 7d 0d 20 20 20 | 20 20 20 20 20 20 20 20 |as }. | |
|00000e80| 20 20 20 20 72 65 61 6c | 6e 61 6d 65 3a 73 74 72 | real|name:str|
|00000e90| 69 6e 67 5b 31 34 5d 3b | 20 7b 20 72 65 61 6c 6e |ing[14];| { realn|
|00000ea0| 61 6d 65 20 7d 0d 20 20 | 20 20 20 20 20 20 20 20 |ame }. | |
|00000eb0| 20 20 20 20 20 64 65 6c | 65 74 65 64 3a 62 6f 6f | del|eted:boo|
|00000ec0| 6c 65 61 6e 3b 20 7b 20 | 64 65 6c 65 74 65 64 20 |lean; { |deleted |
|00000ed0| 66 6c 61 67 20 7d 0d 20 | 20 20 20 20 20 20 20 20 |flag }. | |
|00000ee0| 20 20 20 20 20 20 70 77 | 3a 73 74 72 69 6e 67 5b | pw|:string[|
|00000ef0| 38 5d 3b 20 7b 20 70 61 | 73 73 77 6f 72 64 20 7d |8]; { pa|ssword }|
|00000f00| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00000f10| 70 68 3a 73 74 72 69 6e | 67 5b 31 32 5d 3b 20 7b |ph:strin|g[12]; {|
|00000f20| 20 70 68 6f 6e 65 20 6e | 6f 2e 20 7d 0d 20 20 20 | phone n|o. }. |
|00000f30| 20 20 20 20 20 20 20 20 | 20 20 20 20 77 61 69 74 | | wait|
|00000f40| 69 6e 67 3a 62 79 74 65 | 3b 20 7b 20 6e 6f 2e 20 |ing:byte|; { no. |
|00000f50| 6f 66 20 45 2d 4d 61 69 | 6c 20 6d 73 67 73 20 77 |of E-Mai|l msgs w|
|00000f60| 61 69 74 69 6e 67 20 7d | 0d 20 20 20 20 20 20 20 |aiting }|. |
|00000f70| 20 20 20 20 20 20 20 20 | 6c 61 73 74 6f 6e 3a 73 | |laston:s|
|00000f80| 74 72 69 6e 67 5b 31 30 | 5d 3b 20 7b 20 6c 61 73 |tring[10|]; { las|
|00000f90| 74 20 6f 6e 20 64 61 74 | 65 20 7d 0d 20 20 20 20 |t on dat|e }. |
|00000fa0| 20 20 20 20 20 20 20 20 | 20 20 20 6c 6f 67 67 65 | | logge|
|00000fb0| 64 6f 6e 3a 69 6e 74 65 | 67 65 72 3b 20 7b 20 74 |don:inte|ger; { t|
|00000fc0| 6f 74 61 6c 20 6e 6f 2e | 20 6f 66 20 74 69 6d 65 |otal no.| of time|
|00000fd0| 73 20 6c 6f 67 67 65 64 | 20 6f 6e 20 73 79 73 74 |s logged| on syst|
|00000fe0| 65 6d 20 7d 0d 20 20 20 | 20 20 20 20 20 20 20 20 |em }. | |
|00000ff0| 20 20 20 20 6d 73 67 70 | 6f 73 74 3a 69 6e 74 65 | msgp|ost:inte|
|00001000| 67 65 72 3b 20 7b 20 74 | 6f 74 61 6c 20 6e 6f 2e |ger; { t|otal no.|
|00001010| 20 6f 66 20 6d 73 67 73 | 20 70 6f 73 74 65 64 20 | of msgs| posted |
|00001020| 7d 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |}. | |
|00001030| 20 65 6d 61 69 6c 73 65 | 6e 74 3a 69 6e 74 65 67 | emailse|nt:integ|
|00001040| 65 72 3b 20 7b 20 74 6f | 74 61 6c 20 6e 6f 2e 20 |er; { to|tal no. |
|00001050| 6f 66 20 45 2d 4d 61 69 | 6c 20 6d 73 67 73 20 73 |of E-Mai|l msgs s|
|00001060| 65 6e 74 20 7d 0d 20 20 | 20 20 20 20 20 20 20 20 |ent }. | |
|00001070| 20 20 20 20 20 66 65 65 | 64 62 61 63 6b 3a 69 6e | fee|dback:in|
|00001080| 74 65 67 65 72 3b 20 7b | 20 74 6f 74 61 6c 20 6e |teger; {| total n|
|00001090| 6f 2e 20 6f 66 20 66 65 | 65 64 62 61 63 6b 20 6d |o. of fe|edback m|
|000010a0| 73 67 73 20 73 65 6e 74 | 20 7d 0d 20 20 20 20 20 |sgs sent| }. |
|000010b0| 20 20 20 20 20 20 20 20 | 20 20 6c 69 6e 65 6c 65 | | linele|
|000010c0| 6e 3a 62 79 74 65 3b 20 | 7b 20 75 73 65 72 27 73 |n:byte; |{ user's|
|000010d0| 20 73 63 72 65 65 6e 20 | 77 69 64 74 68 20 7d 0d | screen |width }.|
|000010e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 70 | | p|
|000010f0| 61 67 65 6c 65 6e 3a 62 | 79 74 65 3b 20 7b 20 75 |agelen:b|yte; { u|
|00001100| 73 65 72 27 73 20 73 63 | 72 65 65 6e 20 68 65 69 |ser's sc|reen hei|
|00001110| 67 68 74 20 7d 0d 20 20 | 20 20 20 20 20 20 20 20 |ght }. | |
|00001120| 20 20 20 20 20 64 65 66 | 61 75 6c 74 73 3a 73 65 | def|aults:se|
|00001130| 74 20 6f 66 20 64 65 66 | 6c 74 73 3b 20 7b 20 73 |t of def|lts; { s|
|00001140| 65 74 20 6f 66 20 75 73 | 65 72 20 64 65 66 61 75 |et of us|er defau|
|00001150| 6c 74 73 20 28 6f 6e 2f | 6f 66 66 29 20 2d 20 73 |lts (on/|off) - s|
|00001160| 65 65 20 61 62 6f 76 65 | 20 7d 0d 20 20 20 20 20 |ee above| }. |
|00001170| 20 20 20 20 20 20 20 20 | 20 20 6f 6e 74 6f 64 61 | | ontoda|
|00001180| 79 3a 62 79 74 65 3b 20 | 7b 20 6e 6f 2e 20 6f 66 |y:byte; |{ no. of|
|00001190| 20 74 69 6d 65 73 20 6c | 6f 67 67 65 64 20 6f 6e | times l|ogged on|
|000011a0| 20 74 6f 64 61 79 20 7d | 0d 20 20 20 20 20 20 20 | today }|. |
|000011b0| 20 20 20 20 20 20 20 20 | 69 6c 6c 65 67 61 6c 3a | |illegal:|
|000011c0| 62 79 74 65 3b 20 7b 20 | 6e 6f 2e 20 6f 66 20 69 |byte; { |no. of i|
|000011d0| 6c 6c 65 67 61 6c 20 6c | 6f 67 6f 6e 73 20 74 6f |llegal l|ogons to|
|000011e0| 64 61 79 20 7d 0d 20 20 | 20 20 20 20 20 20 20 20 |day }. | |
|000011f0| 20 20 20 20 20 63 75 72 | 73 6f 72 3a 73 74 72 69 | cur|sor:stri|
|00001200| 6e 67 5b 31 30 5d 3b 20 | 7b 20 73 70 69 6e 6e 69 |ng[10]; |{ spinni|
|00001210| 6e 67 20 63 75 72 73 6f | 72 20 28 69 66 20 61 6e |ng curso|r (if an|
|00001220| 79 29 20 22 77 6f 72 64 | 22 20 7d 0d 20 20 20 20 |y) "word|" }. |
|00001230| 20 20 20 20 20 20 20 20 | 20 20 20 73 6c 3a 62 79 | | sl:by|
|00001240| 74 65 3b 20 7b 20 73 65 | 63 75 72 69 74 79 20 6c |te; { se|curity l|
|00001250| 65 76 65 6c 20 7d 0d 20 | 20 20 20 20 20 20 20 20 |evel }. | |
|00001260| 20 20 20 20 20 20 61 63 | 3a 73 65 74 20 6f 66 20 | ac|:set of |
|00001270| 72 65 73 74 72 69 63 74 | 69 6f 6e 73 3b 20 7b 20 |restrict|ions; { |
|00001280| 73 65 74 20 6f 66 20 75 | 73 65 72 20 72 65 73 74 |set of u|ser rest|
|00001290| 72 69 63 74 69 6f 6e 73 | 20 28 6f 6e 2f 6f 66 66 |rictions| (on/off|
|000012a0| 29 20 2d 20 73 65 65 20 | 61 62 6f 76 65 20 7d 0d |) - see |above }.|
|000012b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 61 | | a|
|000012c0| 72 3a 73 65 74 20 6f 66 | 20 61 63 72 71 3b 20 7b |r:set of| acrq; {|
|000012d0| 20 73 65 74 20 6f 66 20 | 62 6f 61 72 64 73 20 75 | set of |boards u|
|000012e0| 73 65 72 20 68 61 73 20 | 61 63 63 65 73 73 20 74 |ser has |access t|
|000012f0| 6f 20 28 6f 6e 2f 6f 66 | 66 29 20 2d 20 6e 6f 74 |o (on/of|f) - not|
|00001300| 20 72 65 61 6c 6c 79 20 | 75 73 65 64 20 2d 20 73 | really |used - s|
|00001310| 65 65 20 61 62 6f 76 65 | 20 7d 0d 20 20 20 20 20 |ee above| }. |
|00001320| 20 20 20 20 20 20 20 20 | 20 20 71 73 63 61 6e 3a | | qscan:|
|00001330| 61 72 72 61 79 5b 31 2e | 2e 31 39 5d 20 6f 66 20 |array[1.|.19] of |
|00001340| 6d 65 73 73 61 67 65 73 | 3b 20 7b 20 6c 61 73 74 |messages|; { last|
|00001350| 20 6d 73 67 20 51 2d 73 | 63 61 6e 6e 65 64 20 66 | msg Q-s|canned f|
|00001360| 6f 72 20 65 61 63 68 20 | 31 20 6f 66 20 31 39 20 |or each |1 of 19 |
|00001370| 70 6f 73 73 69 62 6c 65 | 20 62 6f 61 72 64 73 20 |possible| boards |
|00001380| 7d 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |}. | |
|00001390| 20 71 73 63 6e 3a 61 72 | 72 61 79 5b 31 2e 2e 31 | qscn:ar|ray[1..1|
|000013a0| 39 5d 20 6f 66 20 62 6f | 6f 6c 65 61 6e 3b 20 7b |9] of bo|olean; {|
|000013b0| 20 63 6f 6e 66 69 67 75 | 72 65 64 20 51 2d 53 63 | configu|red Q-Sc|
|000013c0| 61 6e 20 66 6c 61 67 73 | 20 66 6f 72 20 75 70 20 |an flags| for up |
|000013d0| 74 6f 20 31 39 20 62 6f | 61 72 64 73 20 7d 0d 20 |to 19 bo|ards }. |
|000013e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 6d 61 | | ma|
|000013f0| 63 72 6f 3a 61 72 72 61 | 79 5b 31 2e 2e 32 5d 20 |cro:arra|y[1..2] |
|00001400| 6f 66 20 73 74 72 69 6e | 67 5b 37 39 5d 3b 20 7b |of strin|g[79]; {|
|00001410| 20 63 6f 6e 74 72 6f 6c | 2d 64 20 26 20 63 6f 6e | control|-d & con|
|00001420| 74 72 6f 6c 2d 66 20 6d | 61 63 72 6f 20 65 78 70 |trol-f m|acro exp|
|00001430| 61 6e 73 69 6f 6e 73 20 | 7d 0d 20 20 20 20 20 20 |ansions |}. |
|00001440| 20 20 20 20 20 20 20 20 | 20 63 6f 6d 70 74 79 70 | | comptyp|
|00001450| 65 3a 62 79 74 65 3b 20 | 7b 20 63 6f 6d 70 75 74 |e:byte; |{ comput|
|00001460| 65 72 20 74 79 70 65 20 | 28 31 20 2d 3e 20 6e 75 |er type |(1 -> nu|
|00001470| 6d 63 6f 6d 70 74 79 70 | 65 73 29 20 61 73 20 73 |mcomptyp|es) as s|
|00001480| 65 74 20 75 70 20 65 6c | 73 65 77 68 65 72 65 20 |et up el|sewhere |
|00001490| 7d 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |}. | |
|000014a0| 20 6f 70 74 69 6f 6e 3a | 73 65 74 20 6f 66 20 6f | option:|set of o|
|000014b0| 70 74 73 3b 20 7b 20 73 | 65 74 20 6f 66 20 75 73 |pts; { s|et of us|
|000014c0| 65 72 20 6f 70 74 69 6f | 6e 73 20 28 6f 6e 2f 6f |er optio|ns (on/o|
|000014d0| 66 66 29 20 2d 20 73 65 | 65 20 61 62 6f 76 65 20 |ff) - se|e above |
|000014e0| 7d 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |}. | |
|000014f0| 20 76 6f 74 65 3a 61 72 | 72 61 79 5b 31 2e 2e 39 | vote:ar|ray[1..9|
|00001500| 5d 20 6f 66 20 62 79 74 | 65 3b 20 7b 20 76 6f 74 |] of byt|e; { vot|
|00001510| 65 64 20 66 6c 61 67 73 | 20 66 6f 72 20 75 70 20 |ed flags| for up |
|00001520| 74 6f 20 39 20 71 75 65 | 73 74 69 6f 6e 73 20 7d |to 9 que|stions }|
|00001530| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00001540| 73 62 6e 3a 62 79 74 65 | 3b 20 7b 20 22 73 70 65 |sbn:byte|; { "spe|
|00001550| 63 69 61 6c 20 62 6f 61 | 72 64 20 6e 6f 2e 22 20 |cial boa|rd no." |
|00001560| 2d 20 75 73 65 72 20 68 | 61 73 20 72 69 67 68 74 |- user h|as right|
|00001570| 73 20 74 6f 20 76 61 6c | 69 64 61 74 65 2f 64 65 |s to val|idate/de|
|00001580| 6c 65 74 65 20 6d 73 67 | 73 20 6f 6e 20 62 6f 61 |lete msg|s on boa|
|00001590| 72 64 20 28 30 20 3d 20 | 41 6c 6c 29 20 7d 0d 20 |rd (0 = |All) }. |
|000015a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 64 73 | | ds|
|000015b0| 6c 3a 62 79 74 65 3b 20 | 7b 20 64 6f 77 6e 6c 6f |l:byte; |{ downlo|
|000015c0| 61 64 20 73 65 63 75 72 | 69 74 79 20 6c 65 76 65 |ad secur|ity leve|
|000015d0| 6c 20 7d 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |l }. | |
|000015e0| 20 20 20 75 70 6c 6f 61 | 64 73 2c 64 6f 77 6e 6c | uploa|ds,downl|
|000015f0| 6f 61 64 73 3a 69 6e 74 | 65 67 65 72 3b 20 7b 20 |oads:int|eger; { |
|00001600| 4e 6f 2e 20 6f 66 20 66 | 69 6c 65 73 20 75 70 6c |No. of f|iles upl|
|00001610| 6f 61 64 65 64 2f 64 6f | 77 6e 6c 6f 61 64 65 64 |oaded/do|wnloaded|
|00001620| 20 7d 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | }. | |
|00001630| 20 20 75 6b 2c 64 6b 3a | 69 6e 74 65 67 65 72 3b | uk,dk:|integer;|
|00001640| 20 7b 20 4e 6f 2e 20 6f | 66 20 4b 62 27 73 20 75 | { No. o|f Kb's u|
|00001650| 70 6c 6f 61 64 65 64 2f | 64 6f 77 6e 6c 6f 61 64 |ploaded/|download|
|00001660| 65 64 20 7d 0d 20 20 20 | 20 20 20 20 20 20 20 20 |ed }. | |
|00001670| 20 20 65 6e 64 3b 0d 20 | 20 20 20 20 20 62 6f 61 | end;. | boa|
|00001680| 72 64 72 65 63 3d 72 65 | 63 6f 72 64 20 7b 20 6d |rdrec=re|cord { m|
|00001690| 73 67 20 62 6f 61 72 64 | 20 69 6e 66 6f 20 7d 0d |sg board| info }.|
|000016a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000016b0| 20 6e 61 6d 65 3a 73 74 | 72 69 6e 67 5b 32 35 5d | name:st|ring[25]|
|000016c0| 3b 20 7b 20 62 6f 61 72 | 64 20 74 69 74 6c 65 20 |; { boar|d title |
|000016d0| 7d 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |}. | |
|000016e0| 20 20 20 66 69 6c 65 6e | 61 6d 65 3a 73 74 72 69 | filen|ame:stri|
|000016f0| 6e 67 5b 31 32 5d 3b 20 | 7b 20 6e 61 6d 65 20 6f |ng[12]; |{ name o|
|00001700| 66 20 66 69 6c 65 20 75 | 73 65 64 20 74 6f 20 68 |f file u|sed to h|
|00001710| 6f 6c 64 20 6d 73 67 73 | 20 69 6e 66 6f 20 7d 0d |old msgs| info }.|
|00001720| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001730| 20 73 6c 3a 62 79 74 65 | 3b 20 7b 20 6d 69 6e 2e | sl:byte|; { min.|
|00001740| 20 73 65 63 75 72 69 74 | 79 20 6c 65 76 65 6c 20 | securit|y level |
|00001750| 6e 65 65 64 65 64 20 74 | 6f 20 61 63 63 65 73 73 |needed t|o access|
|00001760| 20 74 68 69 73 20 62 6f | 61 72 64 20 7d 0d 20 20 | this bo|ard }. |
|00001770| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 6d | | m|
|00001780| 61 78 6d 73 67 73 3a 62 | 79 74 65 3b 20 7b 20 6d |axmsgs:b|yte; { m|
|00001790| 61 78 2e 20 6e 6f 2e 20 | 6f 66 20 6d 73 67 73 20 |ax. no. |of msgs |
|000017a0| 61 6c 6c 6f 77 65 64 20 | 6f 6e 20 74 68 69 73 20 |allowed |on this |
|000017b0| 62 6f 61 72 64 20 7d 0d | 20 20 20 20 20 20 20 20 |board }.| |
|000017c0| 20 20 20 20 20 20 20 20 | 20 70 77 3a 73 74 72 69 | | pw:stri|
|000017d0| 6e 67 5b 31 30 5d 3b 20 | 7b 20 62 6f 61 72 64 20 |ng[10]; |{ board |
|000017e0| 70 61 73 73 77 6f 72 64 | 20 28 69 66 20 61 6e 79 |password| (if any|
|000017f0| 29 20 7d 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |) }. | |
|00001800| 20 20 20 20 20 61 6e 6f | 6e 79 6d 6f 75 73 3a 61 | ano|nymous:a|
|00001810| 6e 6f 6e 74 79 70 3b 20 | 7b 20 74 79 70 65 20 6f |nontyp; |{ type o|
|00001820| 66 20 61 6e 6f 6e 79 6d | 6f 75 73 20 61 63 63 65 |f anonym|ous acce|
|00001830| 73 73 20 74 6f 20 74 68 | 69 73 20 62 6f 61 72 64 |ss to th|is board|
|00001840| 20 2d 20 73 65 65 20 61 | 62 6f 76 65 20 7d 0d 20 | - see a|bove }. |
|00001850| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001860| 61 72 3a 61 63 72 71 3b | 20 7b 20 61 63 63 65 73 |ar:acrq;| { acces|
|00001870| 73 20 72 65 71 75 69 72 | 65 64 20 66 6f 72 20 74 |s requir|ed for t|
|00001880| 68 69 73 20 62 6f 61 72 | 64 20 28 6e 6f 74 20 72 |his boar|d (not r|
|00001890| 65 61 6c 6c 79 20 75 73 | 65 64 29 20 2d 20 73 65 |eally us|ed) - se|
|000018a0| 65 20 61 62 6f 76 65 20 | 7d 0d 20 20 20 20 20 20 |e above |}. |
|000018b0| 20 20 20 20 20 20 20 20 | 20 20 20 6b 65 79 3a 63 | | key:c|
|000018c0| 68 61 72 3b 20 7b 20 63 | 68 61 72 61 63 74 65 72 |har; { c|haracter|
|000018d0| 20 72 65 71 75 69 72 65 | 64 20 74 6f 20 72 65 61 | require|d to rea|
|000018e0| 63 68 20 74 68 69 73 20 | 62 6f 61 72 64 20 2d 20 |ch this |board - |
|000018f0| 69 2e 65 2e 20 31 20 2d | 3e 20 31 39 2c 20 6f 72 |i.e. 1 -|> 19, or|
|00001900| 20 74 68 69 73 20 63 68 | 61 72 20 7d 0d 20 20 20 | this ch|ar }. |
|00001910| 20 20 20 20 20 20 20 20 | 20 20 20 20 65 6e 64 3b | | end;|
|00001920| 0d 20 20 20 20 20 20 6d | 73 67 73 74 61 74 3d 28 |. m|sgstat=(|
|00001930| 76 61 6c 69 64 61 74 65 | 64 2c 75 6e 76 61 6c 69 |validate|d,unvali|
|00001940| 64 61 74 65 64 2c 64 65 | 6c 65 74 65 64 29 3b 20 |dated,de|leted); |
|00001950| 7b 20 65 6e 75 6d 65 72 | 61 74 65 64 20 6d 73 67 |{ enumer|ated msg|
|00001960| 20 74 79 70 65 73 20 2d | 20 76 61 6c 69 64 61 74 | types -| validat|
|00001970| 65 64 2c 20 75 6e 76 61 | 6c 69 64 61 74 65 64 2c |ed, unva|lidated,|
|00001980| 20 64 65 6c 65 74 65 64 | 20 7d 0d 20 20 20 20 20 | deleted| }. |
|00001990| 20 6d 65 73 73 61 67 65 | 72 65 63 3d 72 65 63 6f | message|rec=reco|
|000019a0| 72 64 20 7b 20 6d 73 67 | 73 20 69 6e 66 6f 20 7d |rd { msg|s info }|
|000019b0| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000019c0| 20 20 20 20 74 69 74 6c | 65 3a 73 74 72 69 6e 67 | titl|e:string|
|000019d0| 5b 33 30 5d 3b 20 7b 20 | 74 69 74 6c 65 20 6f 66 |[30]; { |title of|
|000019e0| 20 6d 73 67 20 7d 0d 20 | 20 20 20 20 20 20 20 20 | msg }. | |
|000019f0| 20 20 20 20 20 20 20 20 | 20 20 6d 65 73 73 61 67 | | messag|
|00001a00| 65 73 74 61 74 3a 6d 73 | 67 73 74 61 74 3b 20 7b |estat:ms|gstat; {|
|00001a10| 20 6d 73 67 20 74 79 70 | 65 20 2d 20 73 65 65 20 | msg typ|e - see |
|00001a20| 61 62 6f 76 65 20 7d 0d | 20 20 20 20 20 20 20 20 |above }.| |
|00001a30| 20 20 20 20 20 20 20 20 | 20 20 20 6d 65 73 73 61 | | messa|
|00001a40| 67 65 3a 6d 65 73 73 61 | 67 65 73 3b 20 7b 20 6d |ge:messa|ges; { m|
|00001a50| 73 67 20 66 69 6c 65 6e | 61 6d 65 20 69 6e 66 6f |sg filen|ame info|
|00001a60| 20 2d 20 73 65 65 20 61 | 62 6f 76 65 20 7d 0d 20 | - see a|bove }. |
|00001a70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001a80| 20 20 6f 77 6e 65 72 3a | 69 6e 74 65 67 65 72 3b | owner:|integer;|
|00001a90| 20 7b 20 75 73 65 72 20 | 6e 6f 2e 20 6f 66 20 73 | { user |no. of s|
|00001aa0| 65 6e 64 65 72 20 7d 0d | 20 20 20 20 20 20 20 20 |ender }.| |
|00001ab0| 20 20 20 20 20 20 20 20 | 20 20 20 64 61 74 65 3a | | date:|
|00001ac0| 69 6e 74 65 67 65 72 3b | 20 7b 20 64 61 74 65 20 |integer;| { date |
|00001ad0| 70 6f 73 74 65 64 20 7d | 0d 20 20 20 20 20 20 20 |posted }|. |
|00001ae0| 20 20 20 20 20 20 20 20 | 20 20 20 20 6d 61 67 65 | | mage|
|00001af0| 3a 62 79 74 65 3b 20 7b | 20 6d 65 73 73 61 67 65 |:byte; {| message|
|00001b00| 20 61 67 65 20 69 6e 20 | 64 61 79 73 20 7d 0d 20 | age in |days }. |
|00001b10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001b20| 65 6e 64 3b 0d 20 20 20 | 20 20 20 73 79 73 74 61 |end;. | systa|
|00001b30| 74 72 65 63 3d 72 65 63 | 6f 72 64 20 7b 20 73 74 |trec=rec|ord { st|
|00001b40| 61 74 75 73 20 72 65 63 | 6f 72 64 20 7d 0d 20 20 |atus rec|ord }. |
|00001b50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001b60| 62 6f 61 72 64 70 77 3a | 73 74 72 69 6e 67 5b 38 |boardpw:|string[8|
|00001b70| 5d 3b 20 7b 20 63 6c 6f | 73 65 64 20 62 6f 61 72 |]; { clo|sed boar|
|00001b80| 64 20 70 61 73 73 77 6f | 72 64 20 28 69 66 20 61 |d passwo|rd (if a|
|00001b90| 6e 79 29 20 7d 0d 20 20 | 20 20 20 20 20 20 20 20 |ny) }. | |
|00001ba0| 20 20 20 20 20 20 20 20 | 73 79 73 6f 70 70 77 3a | |sysoppw:|
|00001bb0| 73 74 72 69 6e 67 5b 38 | 5d 3b 20 7b 20 73 79 73 |string[8|]; { sys|
|00001bc0| 6f 70 27 73 20 32 6e 64 | 20 70 61 73 73 77 6f 72 |op's 2nd| passwor|
|00001bd0| 64 20 7d 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |d }. | |
|00001be0| 20 20 20 20 20 20 68 6d | 73 67 3a 6d 65 73 73 61 | hm|sg:messa|
|00001bf0| 67 65 73 3b 20 7b 20 6d | 73 67 20 66 69 6c 65 6e |ges; { m|sg filen|
|00001c00| 61 6d 65 20 69 6e 66 6f | 20 2d 20 6e 65 78 74 20 |ame info| - next |
|00001c10| 61 76 61 69 6c 2e 20 6d | 73 67 20 66 69 6c 65 6e |avail. m|sg filen|
|00001c20| 61 6d 65 20 3f 3f 3f 20 | 7d 0d 20 20 20 20 20 20 |ame ??? |}. |
|00001c30| 20 20 20 20 20 20 20 20 | 20 20 20 20 75 73 65 72 | | user|
|00001c40| 73 3a 69 6e 74 65 67 65 | 72 3b 20 7b 20 6e 6f 2e |s:intege|r; { no.|
|00001c50| 20 6f 66 20 75 73 65 72 | 73 20 63 75 72 72 65 6e | of user|s curren|
|00001c60| 74 6c 79 20 6f 6e 20 73 | 79 73 74 65 6d 20 7d 0d |tly on s|ystem }.|
|00001c70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001c80| 20 20 6c 61 73 74 64 61 | 74 65 3a 73 74 72 69 6e | lastda|te:strin|
|00001c90| 67 5b 38 5d 3b 20 7b 20 | 6c 61 73 74 20 64 61 74 |g[8]; { |last dat|
|00001ca0| 65 20 74 68 61 74 20 73 | 79 73 74 65 6d 20 77 61 |e that s|ystem wa|
|00001cb0| 73 20 75 73 65 64 20 7d | 0d 20 20 20 20 20 20 20 |s used }|. |
|00001cc0| 20 20 20 20 20 20 20 20 | 20 20 20 63 61 6c 6c 65 | | calle|
|00001cd0| 72 6e 75 6d 3a 69 6e 74 | 65 67 65 72 3b 20 7b 20 |rnum:int|eger; { |
|00001ce0| 63 75 72 72 65 6e 74 2f | 6e 65 78 74 20 63 61 6c |current/|next cal|
|00001cf0| 6c 65 72 20 6e 6f 2e 20 | 7d 0d 20 20 20 20 20 20 |ler no. |}. |
|00001d00| 20 20 20 20 20 20 20 20 | 20 20 20 20 61 63 74 69 | | acti|
|00001d10| 76 65 74 6f 64 61 79 3a | 69 6e 74 65 67 65 72 3b |vetoday:|integer;|
|00001d20| 20 7b 20 61 6d 6f 75 6e | 74 20 6f 66 20 74 69 6d | { amoun|t of tim|
|00001d30| 65 20 69 6e 20 6d 69 6e | 73 20 74 68 61 74 20 73 |e in min|s that s|
|00001d40| 79 73 74 65 6d 20 77 61 | 73 20 75 70 20 7d 0d 20 |ystem wa|s up }. |
|00001d50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001d60| 20 63 61 6c 6c 73 74 6f | 64 61 79 3a 69 6e 74 65 | callsto|day:inte|
|00001d70| 67 65 72 3b 20 7b 20 6e | 6f 2e 20 6f 66 20 63 61 |ger; { n|o. of ca|
|00001d80| 6c 6c 73 20 74 6f 64 61 | 79 20 7d 0d 20 20 20 20 |lls toda|y }. |
|00001d90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 6d 73 | | ms|
|00001da0| 67 70 6f 73 74 74 6f 64 | 61 79 3a 69 6e 74 65 67 |gposttod|ay:integ|
|00001db0| 65 72 3b 20 7b 20 6e 6f | 2e 20 6f 66 20 6d 73 67 |er; { no|. of msg|
|00001dc0| 73 20 70 6f 73 74 65 64 | 20 74 6f 64 61 79 20 7d |s posted| today }|
|00001dd0| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00001de0| 20 20 20 65 6d 61 69 6c | 74 6f 64 61 79 3a 69 6e | email|today:in|
|00001df0| 74 65 67 65 72 3b 20 7b | 20 6e 6f 2e 20 6f 66 20 |teger; {| no. of |
|00001e00| 45 2d 4d 61 69 6c 20 6d | 73 67 73 20 73 65 6e 74 |E-Mail m|sgs sent|
|00001e10| 20 74 6f 64 61 79 20 7d | 0d 20 20 20 20 20 20 20 | today }|. |
|00001e20| 20 20 20 20 20 20 20 20 | 20 20 20 66 62 61 63 6b | | fback|
|00001e30| 74 6f 64 61 79 3a 69 6e | 74 65 67 65 72 3b 20 7b |today:in|teger; {|
|00001e40| 20 6e 6f 2e 20 6f 66 20 | 46 65 65 64 62 61 63 6b | no. of |Feedback|
|00001e50| 20 6d 73 67 73 20 73 65 | 6e 74 20 74 6f 64 61 79 | msgs se|nt today|
|00001e60| 20 7d 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | }. | |
|00001e70| 20 20 20 20 20 75 70 74 | 6f 64 61 79 3a 69 6e 74 | upt|oday:int|
|00001e80| 65 67 65 72 3b 20 7b 20 | 6e 6f 2e 20 6f 66 20 75 |eger; { |no. of u|
|00001e90| 70 6c 6f 61 64 73 20 74 | 6f 64 61 79 20 7d 0d 20 |ploads t|oday }. |
|00001ea0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001eb0| 20 63 6c 6f 73 65 64 73 | 79 73 74 65 6d 3a 62 6f | closeds|ystem:bo|
|00001ec0| 6f 6c 65 61 6e 3b 20 7b | 20 63 6c 6f 73 65 64 20 |olean; {| closed |
|00001ed0| 73 79 73 74 65 6d 20 66 | 6c 61 67 20 7d 0d 20 20 |system f|lag }. |
|00001ee0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 65 6e | | en|
|00001ef0| 64 3b 0d 20 20 20 20 20 | 20 6d 61 69 6c 72 65 63 |d;. | mailrec|
|00001f00| 3d 72 65 63 6f 72 64 20 | 7b 20 45 2d 4d 61 69 6c |=record |{ E-Mail|
|00001f10| 20 69 6e 66 6f 20 7d 0d | 20 20 20 20 20 20 20 20 | info }.| |
|00001f20| 20 20 20 20 20 20 20 20 | 74 69 74 6c 65 3a 73 74 | |title:st|
|00001f30| 72 69 6e 67 5b 33 30 5d | 3b 20 7b 20 74 69 74 6c |ring[30]|; { titl|
|00001f40| 65 20 6f 66 20 6d 73 67 | 20 7d 0d 20 20 20 20 20 |e of msg| }. |
|00001f50| 20 20 20 20 20 20 20 20 | 20 20 20 66 72 6f 6d 2c | | from,|
|00001f60| 64 65 73 74 69 6e 3a 69 | 6e 74 65 67 65 72 3b 20 |destin:i|nteger; |
|00001f70| 7b 20 75 73 65 72 20 6e | 6f 2e 20 6f 66 20 73 65 |{ user n|o. of se|
|00001f80| 6e 64 65 72 2c 20 72 65 | 63 69 70 69 65 6e 74 20 |nder, re|cipient |
|00001f90| 7d 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |}. | |
|00001fa0| 20 20 6d 73 67 3a 6d 65 | 73 73 61 67 65 73 3b 20 | msg:me|ssages; |
|00001fb0| 7b 20 6d 73 67 20 66 69 | 6c 65 6e 61 6d 65 20 69 |{ msg fi|lename i|
|00001fc0| 6e 66 6f 20 2d 20 73 65 | 65 20 61 62 6f 76 65 20 |nfo - se|e above |
|00001fd0| 7d 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |}. | |
|00001fe0| 20 20 64 61 74 65 3a 69 | 6e 74 65 67 65 72 3b 20 | date:i|nteger; |
|00001ff0| 7b 20 64 61 74 65 20 73 | 65 6e 74 20 7d 0d 20 20 |{ date s|ent }. |
|00002000| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 6d 61 | | ma|
|00002010| 67 65 3a 62 79 74 65 3b | 20 7b 20 6d 65 73 73 61 |ge:byte;| { messa|
|00002020| 67 65 20 61 67 65 20 69 | 6e 20 64 61 79 73 20 7d |ge age i|n days }|
|00002030| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 65 |. | e|
|00002040| 6e 64 3b 0d 20 20 20 20 | 20 20 67 66 74 3d 72 65 |nd;. | gft=re|
|00002050| 63 6f 72 64 20 7b 20 47 | 2d 46 69 6c 65 73 20 69 |cord { G|-Files i|
|00002060| 6e 66 6f 20 7d 0d 20 20 | 20 20 20 20 20 20 20 20 |nfo }. | |
|00002070| 20 20 6e 75 6d 3a 69 6e | 74 65 67 65 72 3b 20 7b | num:in|teger; {|
|00002080| 20 73 65 63 74 69 6f 6e | 20 6e 6f 2e 20 7d 0d 20 | section| no. }. |
|00002090| 20 20 20 20 20 20 20 20 | 20 20 20 74 69 74 6c 65 | | title|
|000020a0| 3a 73 74 72 69 6e 67 5b | 34 30 5d 3b 20 7b 20 47 |:string[|40]; { G|
|000020b0| 2d 46 69 6c 65 20 74 69 | 74 6c 65 20 7d 0d 20 20 |-File ti|tle }. |
|000020c0| 20 20 20 20 20 20 20 20 | 20 20 66 69 6c 65 6e 3a | | filen:|
|000020d0| 73 74 72 69 6e 67 5b 31 | 32 5d 3b 20 7b 20 47 2d |string[1|2]; { G-|
|000020e0| 46 69 6c 65 20 66 69 6c | 65 6e 61 6d 65 20 7d 0d |File fil|ename }.|
|000020f0| 20 20 20 20 20 20 20 20 | 20 20 65 6e 64 3b 0d 20 | | end;. |
|00002100| 20 20 20 20 20 63 68 61 | 72 66 69 6c 3d 74 65 78 | cha|rfil=tex|
|00002110| 74 3b 20 7b 20 63 68 61 | 72 61 63 74 65 72 20 66 |t; { cha|racter f|
|00002120| 69 6c 65 20 74 79 70 65 | 20 7d 0d 20 20 20 20 20 |ile type| }. |
|00002130| 20 73 6d 72 3d 72 65 63 | 6f 72 64 20 7b 20 73 6d | smr=rec|ord { sm|
|00002140| 61 6c 6c 20 6d 73 67 20 | 69 6e 66 6f 20 7d 0d 20 |all msg |info }. |
|00002150| 20 20 20 20 20 20 20 20 | 20 20 20 6d 73 67 3a 73 | | msg:s|
|00002160| 74 72 74 79 70 65 3b 20 | 7b 20 74 68 65 20 6d 73 |trtype; |{ the ms|
|00002170| 67 20 7d 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |g }. | |
|00002180| 64 65 73 74 69 6e 3a 69 | 6e 74 65 67 65 72 3b 20 |destin:i|nteger; |
|00002190| 7b 20 75 73 65 72 20 6e | 6f 2e 20 6f 66 20 72 65 |{ user n|o. of re|
|000021a0| 63 69 70 69 65 6e 74 20 | 7d 0d 20 20 20 20 20 20 |cipient |}. |
|000021b0| 20 20 20 20 65 6e 64 3b | 0d 20 20 20 20 20 20 76 | end;|. v|
|000021c0| 64 61 74 61 72 3d 72 65 | 63 6f 72 64 20 7b 20 76 |datar=re|cord { v|
|000021d0| 6f 74 69 6e 67 20 64 61 | 74 61 20 69 6e 66 6f 20 |oting da|ta info |
|000021e0| 7d 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |}. | |
|000021f0| 20 71 75 65 73 74 69 6f | 6e 3a 73 74 72 69 6e 67 | questio|n:string|
|00002200| 5b 37 39 5d 3b 20 7b 20 | 71 75 65 73 74 69 6f 6e |[79]; { |question|
|00002210| 20 7d 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | }. | |
|00002220| 20 20 6e 75 6d 61 3a 69 | 6e 74 65 67 65 72 3b 20 | numa:i|nteger; |
|00002230| 7b 20 6e 6f 2e 20 6f 66 | 20 61 6e 73 77 65 72 73 |{ no. of| answers|
|00002240| 20 7d 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | }. | |
|00002250| 20 20 61 6e 73 77 3a 61 | 72 72 61 79 5b 30 2e 2e | answ:a|rray[0..|
|00002260| 39 5d 20 6f 66 20 72 65 | 63 6f 72 64 20 7b 20 31 |9] of re|cord { 1|
|00002270| 30 20 70 6f 73 73 69 62 | 6c 65 20 61 6e 73 77 65 |0 possib|le answe|
|00002280| 72 73 20 7d 0d 20 20 20 | 20 20 20 20 20 20 20 20 |rs }. | |
|00002290| 20 20 20 20 20 20 20 20 | 20 20 20 61 6e 73 3a 73 | | ans:s|
|000022a0| 74 72 69 6e 67 5b 32 35 | 5d 3b 20 7b 20 61 6e 73 |tring[25|]; { ans|
|000022b0| 77 65 72 20 7d 0d 20 20 | 20 20 20 20 20 20 20 20 |wer }. | |
|000022c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 6e 75 6d 72 | | numr|
|000022d0| 65 73 3a 69 6e 74 65 67 | 65 72 3b 20 7b 20 6e 75 |es:integ|er; { nu|
|000022e0| 6d 62 65 72 20 6f 66 20 | 75 73 65 72 73 20 76 6f |mber of |users vo|
|000022f0| 74 69 6e 67 20 74 68 69 | 73 20 61 6e 73 77 65 72 |ting thi|s answer|
|00002300| 20 7d 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | }. | |
|00002310| 20 20 20 20 20 20 20 65 | 6e 64 3b 0d 20 20 20 20 | e|nd;. |
|00002320| 20 20 20 20 20 20 20 20 | 20 65 6e 64 3b 0d 20 20 | | end;. |
|00002330| 20 20 20 20 75 6c 72 65 | 63 3d 72 65 63 6f 72 64 | ulre|c=record|
|00002340| 20 7b 20 66 69 6c 65 20 | 73 65 63 74 69 6f 6e 20 | { file |section |
|00002350| 62 6f 61 72 64 20 64 61 | 74 61 20 7d 0d 20 20 20 |board da|ta }. |
|00002360| 20 20 20 20 20 20 20 20 | 20 20 20 6e 61 6d 65 3a | | name:|
|00002370| 73 74 72 69 6e 67 5b 32 | 35 5d 3b 20 7b 20 6e 61 |string[2|5]; { na|
|00002380| 6d 65 20 6f 66 20 62 6f | 61 72 64 20 7d 0d 20 20 |me of bo|ard }. |
|00002390| 20 20 20 20 20 20 20 20 | 20 20 20 20 66 69 6c 65 | | file|
|000023a0| 6e 61 6d 65 3a 73 74 72 | 69 6e 67 5b 31 32 5d 3b |name:str|ing[12];|
|000023b0| 20 7b 20 6e 61 6d 65 20 | 6f 66 20 66 69 6c 65 20 | { name |of file |
|000023c0| 74 68 61 74 20 68 6f 6c | 64 73 20 66 69 6c 65 20 |that hol|ds file |
|000023d0| 73 65 63 74 69 6f 6e 20 | 64 61 74 61 20 7d 0d 20 |section |data }. |
|000023e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 70 61 73 | | pas|
|000023f0| 73 77 6f 72 64 3a 73 74 | 72 69 6e 67 5b 31 30 5d |sword:st|ring[10]|
|00002400| 3b 20 7b 20 62 6f 61 72 | 64 20 70 61 73 73 77 6f |; { boar|d passwo|
|00002410| 72 64 20 28 69 66 20 61 | 6e 79 29 20 7d 0d 20 20 |rd (if a|ny) }. |
|00002420| 20 20 20 20 20 20 20 20 | 20 20 20 20 64 73 6c 3a | | dsl:|
|00002430| 62 79 74 65 3b 20 7b 20 | 6d 69 6e 2e 20 73 65 63 |byte; { |min. sec|
|00002440| 75 72 69 74 79 20 6c 65 | 76 65 6c 20 6e 65 65 64 |urity le|vel need|
|00002450| 65 64 20 74 6f 20 61 63 | 63 65 73 73 20 74 68 69 |ed to ac|cess thi|
|00002460| 73 20 62 6f 61 72 64 20 | 7d 0d 20 20 20 20 20 20 |s board |}. |
|00002470| 20 20 20 20 20 20 20 20 | 6d 61 78 66 69 6c 65 73 | |maxfiles|
|00002480| 3a 69 6e 74 65 67 65 72 | 3b 20 7b 20 6d 61 78 2e |:integer|; { max.|
|00002490| 20 6e 6f 2e 20 6f 66 20 | 66 69 6c 65 73 20 61 6c | no. of |files al|
|000024a0| 6c 6f 77 65 64 20 69 6e | 20 74 68 69 73 20 62 6f |lowed in| this bo|
|000024b0| 61 72 64 20 7d 0d 20 20 | 20 20 20 20 20 20 20 20 |ard }. | |
|000024c0| 20 20 65 6e 64 3b 0d 20 | 20 20 20 20 20 75 6c 66 | end;. | ulf|
|000024d0| 72 65 63 3d 72 65 63 6f | 72 64 20 7b 20 75 70 6c |rec=reco|rd { upl|
|000024e0| 6f 61 64 65 64 20 66 69 | 6c 65 20 69 6e 66 6f 20 |oaded fi|le info |
|000024f0| 2d 20 6d 6f 64 69 66 69 | 65 64 20 66 6f 72 20 33 |- modifi|ed for 3|
|00002500| 2e 30 20 7d 0d 20 20 20 | 20 20 20 20 20 20 20 20 |.0 }. | |
|00002510| 20 20 20 20 6e 61 6d 65 | 6c 65 6e 20 3a 20 62 79 | name|len : by|
|00002520| 74 65 3b 20 7b 20 6c 65 | 6e 67 74 68 20 6f 66 20 |te; { le|ngth of |
|00002530| 66 69 6c 65 6e 61 6d 65 | 20 7d 0d 20 20 20 20 20 |filename| }. |
|00002540| 20 20 20 20 20 20 20 20 | 20 20 6e 61 6d 65 64 65 | | namede|
|00002550| 73 63 3a 73 74 72 69 6e | 67 5b 37 32 5d 3b 20 7b |sc:strin|g[72]; {|
|00002560| 20 66 69 6c 65 6e 61 6d | 65 20 26 20 64 65 73 63 | filenam|e & desc|
|00002570| 72 69 70 74 69 6f 6e 20 | 7d 0d 09 20 20 20 20 20 |ription |}.. |
|00002580| 20 20 20 20 20 20 72 65 | 61 6c 6e 61 6d 65 20 3a | re|alname :|
|00002590| 20 73 74 72 69 6e 67 5b | 36 34 5d 3b 20 7b 20 61 | string[|64]; { a|
|000025a0| 64 64 65 64 20 66 6f 72 | 20 76 65 72 73 69 6f 6e |dded for| version|
|000025b0| 20 31 2e 31 20 2d 20 4d | 61 63 42 69 6e 61 72 79 | 1.1 - M|acBinary|
|000025c0| 20 66 69 6c 65 6e 61 6d | 65 20 7d 0d 20 20 20 20 | filenam|e }. |
|000025d0| 20 20 20 20 20 20 20 20 | 20 20 20 66 74 3a 61 72 | | ft:ar|
|000025e0| 72 61 79 5b 31 2e 2e 33 | 5d 20 6f 66 20 62 79 74 |ray[1..3|] of byt|
|000025f0| 65 3b 20 7b 20 66 69 6c | 65 74 79 70 65 20 2d 20 |e; { fil|etype - |
|00002600| 6e 6f 74 20 72 65 61 6c | 6c 79 20 75 73 65 64 20 |not real|ly used |
|00002610| 28 4d 53 2d 44 4f 53 29 | 20 7d 0d 20 20 20 20 20 |(MS-DOS)| }. |
|00002620| 20 20 20 20 20 20 20 20 | 20 20 62 6c 6f 63 6b 73 | | blocks|
|00002630| 3a 69 6e 74 65 67 65 72 | 3b 20 7b 20 73 69 7a 65 |:integer|; { size|
|00002640| 20 69 6e 20 62 6c 6f 63 | 6b 73 20 7d 0d 20 20 20 | in bloc|ks }. |
|00002650| 20 20 20 20 20 20 20 20 | 20 20 20 20 6f 77 6e 65 | | owne|
|00002660| 72 3a 69 6e 74 65 67 65 | 72 3b 20 7b 20 75 73 65 |r:intege|r; { use|
|00002670| 72 20 6e 6f 2e 20 6f 66 | 20 75 70 6c 6f 61 64 65 |r no. of| uploade|
|00002680| 72 20 7d 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |r }. | |
|00002690| 20 20 20 64 61 74 65 3a | 73 74 72 69 6e 67 5b 38 | date:|string[8|
|000026a0| 5d 3b 20 7b 20 64 61 74 | 65 20 75 70 6c 6f 61 64 |]; { dat|e upload|
|000026b0| 65 64 20 7d 0d 20 20 20 | 20 20 20 20 20 20 20 20 |ed }. | |
|000026c0| 20 20 20 20 64 61 74 65 | 6e 3a 69 6e 74 65 67 65 | date|n:intege|
|000026d0| 72 3b 20 7b 20 64 61 79 | 20 6e 6f 2e 20 6f 66 20 |r; { day| no. of |
|000026e0| 74 68 65 20 79 65 61 72 | 20 77 68 65 6e 20 75 70 |the year| when up|
|000026f0| 6c 6f 61 64 65 64 20 7d | 0d 09 20 20 20 20 20 20 |loaded }|.. |
|00002700| 20 20 20 20 20 6e 75 6d | 64 6c 6f 61 64 73 20 3a | num|dloads :|
|00002710| 20 69 6e 74 65 67 65 72 | 3b 20 7b 20 61 64 64 65 | integer|; { adde|
|00002720| 64 20 66 6f 72 20 76 65 | 72 73 69 6f 6e 20 31 2e |d for ve|rsion 1.|
|00002730| 31 20 7d 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |1 }. | |
|00002740| 20 65 6e 64 3b 0d 09 20 | 20 7b 20 61 64 64 65 64 | end;.. | { added|
|00002750| 20 66 6f 72 20 76 65 72 | 73 69 6f 6e 20 33 2e 30 | for ver|sion 3.0|
|00002760| 20 7d 0d 20 20 20 20 20 | 20 6c 61 75 6e 63 68 72 | }. | launchr|
|00002770| 65 63 20 3d 20 72 65 63 | 6f 72 64 0d 20 20 20 20 |ec = rec|ord. |
|00002780| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002790| 20 6c 73 75 62 6c 61 75 | 6e 63 68 20 3a 20 62 6f | lsublau|nch : bo|
|000027a0| 6f 6c 65 61 6e 3b 20 7b | 20 74 72 75 65 20 69 66 |olean; {| true if|
|000027b0| 20 73 75 62 2d 6c 61 75 | 6e 63 68 65 64 20 66 72 | sub-lau|nched fr|
|000027c0| 6f 6d 20 42 42 53 20 7d | 0d 20 20 20 20 20 20 20 |om BBS }|. |
|000027d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 6c 72 | | lr|
|000027e0| 65 74 75 72 6e 70 72 6f | 67 20 3a 20 73 74 72 69 |eturnpro|g : stri|
|000027f0| 6e 67 5b 38 30 5d 3b 20 | 7b 20 6e 61 6d 65 20 6f |ng[80]; |{ name o|
|00002800| 66 20 74 68 69 73 20 70 | 72 6f 67 72 61 6d 20 7d |f this p|rogram }|
|00002810| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00002820| 20 20 20 20 20 20 6c 75 | 73 65 72 6f 6e 20 3a 20 | lu|seron : |
|00002830| 62 6f 6f 6c 65 61 6e 3b | 20 7b 20 74 72 75 65 20 |boolean;| { true |
|00002840| 69 66 20 75 73 65 72 20 | 69 73 20 6f 6e 20 2d 20 |if user |is on - |
|00002850| 6d 6f 73 74 20 6f 66 20 | 66 6f 6c 6c 6f 77 69 6e |most of |followin|
|00002860| 67 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |g. | |
|00002870| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002880| 20 20 20 20 20 20 20 20 | 20 20 20 20 66 69 65 6c | | fiel|
|00002890| 64 73 20 61 72 65 20 6f | 6e 6c 79 20 76 61 6c 69 |ds are o|nly vali|
|000028a0| 64 20 69 66 20 75 73 65 | 72 20 69 73 20 6f 6e 20 |d if use|r is on |
|000028b0| 7d 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |}. | |
|000028c0| 20 20 20 20 20 20 20 6c | 69 6e 63 6f 6d 20 3a 20 | l|incom : |
|000028d0| 62 6f 6f 6c 65 61 6e 3b | 20 7b 20 69 6e 70 75 74 |boolean;| { input|
|000028e0| 20 66 72 6f 6d 20 73 65 | 72 69 61 6c 20 70 6f 72 | from se|rial por|
|000028f0| 74 20 7d 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |t }. | |
|00002900| 20 20 20 20 20 20 20 20 | 20 6c 6f 75 74 63 6f 6d | | loutcom|
|00002910| 20 3a 20 62 6f 6f 6c 65 | 61 6e 3b 20 7b 20 6f 6b | : boole|an; { ok|
|00002920| 20 74 6f 20 6f 75 74 70 | 75 74 20 74 6f 20 73 65 | to outp|ut to se|
|00002930| 72 69 61 6c 20 70 6f 72 | 74 20 7d 0d 20 20 20 20 |rial por|t }. |
|00002940| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002950| 20 6c 73 70 64 20 3a 20 | 73 74 72 69 6e 67 5b 32 | lspd : |string[2|
|00002960| 30 5d 3b 20 7b 20 63 75 | 72 72 65 6e 74 20 62 61 |0]; { cu|rrent ba|
|00002970| 75 64 20 72 61 74 65 20 | 6f 72 20 4b 42 2c 20 77 |ud rate |or KB, w|
|00002980| 69 74 68 20 74 72 61 69 | 6c 69 6e 67 20 6f 70 74 |ith trai|ling opt|
|00002990| 69 6f 6e 73 20 7d 0d 20 | 20 20 20 20 20 20 20 20 |ions }. | |
|000029a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 6c 68 61 6e | | lhan|
|000029b0| 67 75 70 20 3a 20 62 6f | 6f 6c 65 61 6e 3b 20 7b |gup : bo|olean; {|
|000029c0| 20 69 66 20 75 73 65 72 | 20 68 61 73 20 74 6f 20 | if user| has to |
|000029d0| 68 61 6e 67 20 75 70 20 | 7d 0d 20 20 20 20 20 20 |hang up |}. |
|000029e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 6c | | l|
|000029f0| 75 73 65 72 6e 75 6d 20 | 3a 20 69 6e 74 65 67 65 |usernum |: intege|
|00002a00| 72 3b 20 7b 20 74 68 65 | 20 6e 6f 2e 20 6f 66 20 |r; { the| no. of |
|00002a10| 74 68 65 20 75 73 65 72 | 20 7d 0d 09 09 09 09 09 |the user| }......|
|00002a20| 20 6c 74 68 69 73 75 73 | 65 72 20 3a 20 75 73 65 | lthisus|er : use|
|00002a30| 72 72 65 63 3b 20 7b 20 | 63 75 72 72 65 6e 74 20 |rrec; { |current |
|00002a40| 75 73 65 72 20 72 65 63 | 6f 72 64 20 7d 0d 20 20 |user rec|ord }. |
|00002a50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002a60| 20 20 20 6c 72 65 61 6c | 73 6c 20 3a 20 69 6e 74 | lreal|sl : int|
|00002a70| 65 67 65 72 3b 20 7b 20 | 63 75 72 72 65 6e 74 20 |eger; { |current |
|00002a80| 75 73 65 72 27 73 20 72 | 65 61 6c 20 53 4c 20 7d |user's r|eal SL }|
|00002a90| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00002aa0| 20 20 20 20 20 20 6c 74 | 69 6d 65 6f 6e 20 3a 20 | lt|imeon : |
|00002ab0| 72 65 61 6c 3b 20 7b 20 | 74 69 6d 65 20 63 75 72 |real; { |time cur|
|00002ac0| 72 65 6e 74 20 75 73 65 | 72 20 6c 6f 67 67 65 64 |rent use|r logged|
|00002ad0| 20 6f 6e 20 7d 0d 20 20 | 20 20 20 20 20 20 20 20 | on }. | |
|00002ae0| 20 20 20 20 20 20 20 20 | 20 20 20 6c 74 74 69 6d | | lttim|
|00002af0| 65 20 3a 20 72 65 61 6c | 3b 20 7b 20 75 73 65 72 |e : real|; { user|
|00002b00| 27 73 20 61 6c 6c 6f 77 | 65 64 20 74 69 6d 65 20 |'s allow|ed time |
|00002b10| 6f 6e 20 66 6f 72 20 68 | 69 73 20 53 4c 20 7d 0d |on for h|is SL }.|
|00002b20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002b30| 20 20 20 20 20 6c 65 78 | 74 72 61 74 69 6d 65 20 | lex|tratime |
|00002b40| 3a 20 72 65 61 6c 3b 20 | 7b 20 63 75 72 72 65 6e |: real; |{ curren|
|00002b50| 74 20 75 73 65 72 27 73 | 20 74 69 6d 65 20 63 6f |t user's| time co|
|00002b60| 6d 70 65 6e 73 61 74 69 | 6f 6e 20 7d 0d 09 09 09 |mpensati|on }....|
|00002b70| 09 09 20 6c 63 68 61 74 | 74 69 6d 65 20 3a 20 72 |.. lchat|time : r|
|00002b80| 65 61 6c 3b 20 7b 20 64 | 69 74 74 6f 20 66 6f 72 |eal; { d|itto for|
|00002b90| 20 63 68 61 74 20 7d 0d | 20 20 20 20 20 20 20 20 | chat }.| |
|00002ba0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 6c 73 79 | | lsy|
|00002bb0| 73 74 61 74 20 3a 20 73 | 79 73 74 61 74 72 65 63 |stat : s|ystatrec|
|00002bc0| 3b 20 7b 20 63 75 72 72 | 65 6e 74 20 73 74 61 74 |; { curr|ent stat|
|00002bd0| 75 73 20 72 65 63 6f 72 | 64 20 7d 0d 20 20 20 20 |us recor|d }. |
|00002be0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002bf0| 20 6c 73 79 73 6f 70 61 | 76 61 69 6c 20 3a 20 62 | lsysopa|vail : b|
|00002c00| 6f 6f 6c 65 61 6e 3b 20 | 7b 20 73 79 73 6f 70 20 |oolean; |{ sysop |
|00002c10| 61 76 61 69 6c 61 62 6c | 65 20 7d 0d 20 20 20 20 |availabl|e }. |
|00002c20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002c30| 20 6c 65 78 74 72 61 6d | 73 67 73 20 3a 20 69 6e | lextram|sgs : in|
|00002c40| 74 65 67 65 72 3b 20 7b | 20 6e 6f 2e 20 6f 66 20 |teger; {| no. of |
|00002c50| 6d 73 67 73 20 61 6c 6c | 6f 77 65 64 20 3f 20 7d |msgs all|owed ? }|
|00002c60| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00002c70| 20 20 20 20 20 20 6c 63 | 68 61 74 63 61 6c 6c 20 | lc|hatcall |
|00002c80| 3a 20 62 6f 6f 6c 65 61 | 6e 3b 20 7b 20 64 6f 65 |: boolea|n; { doe|
|00002c90| 73 20 75 73 65 72 20 77 | 61 6e 74 20 74 6f 20 63 |s user w|ant to c|
|00002ca0| 68 61 74 20 7d 0d 20 20 | 20 20 20 20 20 20 20 20 |hat }. | |
|00002cb0| 20 20 20 20 20 20 20 20 | 20 20 20 6c 63 68 61 74 | | lchat|
|00002cc0| 72 20 3a 20 73 74 72 74 | 79 70 65 3b 20 7b 20 72 |r : strt|ype; { r|
|00002cd0| 65 61 73 6f 6e 20 66 6f | 72 20 63 68 61 74 20 7d |eason fo|r chat }|
|00002ce0| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00002cf0| 20 20 20 20 20 20 6c 65 | 78 70 65 72 74 20 3a 20 | le|xpert : |
|00002d00| 62 6f 6f 6c 65 61 6e 3b | 20 7b 20 75 73 65 72 27 |boolean;| { user'|
|00002d10| 73 20 6d 65 6e 75 20 65 | 78 70 65 72 74 20 6d 6f |s menu e|xpert mo|
|00002d20| 64 65 20 7d 0d 20 20 20 | 20 20 20 20 20 20 20 20 |de }. | |
|00002d30| 20 20 20 20 20 20 20 20 | 20 20 6c 66 74 6f 64 61 | | lftoda|
|00002d40| 79 20 3a 20 69 6e 74 65 | 67 65 72 3b 20 7b 20 61 |y : inte|ger; { a|
|00002d50| 6d 6f 75 6e 74 20 6f 66 | 20 66 65 65 64 62 61 63 |mount of| feedbac|
|00002d60| 6b 20 74 6f 64 61 79 20 | 62 79 20 75 73 65 72 20 |k today |by user |
|00002d70| 7d 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |}. | |
|00002d80| 20 20 20 20 20 20 20 6c | 65 74 6f 64 61 79 20 3a | l|etoday :|
|00002d90| 20 69 6e 74 65 67 65 72 | 3b 20 7b 20 61 6d 6f 75 | integer|; { amou|
|00002da0| 6e 74 20 6f 66 20 65 6d | 61 69 6c 20 73 65 6e 74 |nt of em|ail sent|
|00002db0| 20 74 6f 64 61 79 20 62 | 79 20 75 73 65 72 20 7d | today b|y user }|
|00002dc0| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00002dd0| 20 20 20 20 20 20 6c 6d | 72 65 61 64 20 3a 20 69 | lm|read : i|
|00002de0| 6e 74 65 67 65 72 3b 20 | 7b 20 6e 6f 2e 20 6f 66 |nteger; |{ no. of|
|00002df0| 20 6d 73 67 73 20 72 65 | 61 64 20 62 79 20 75 73 | msgs re|ad by us|
|00002e00| 65 72 20 7d 0d 20 20 20 | 20 20 20 20 20 20 20 20 |er }. | |
|00002e10| 20 20 20 20 20 20 20 20 | 20 20 6c 70 74 6f 64 61 | | lptoda|
|00002e20| 79 20 3a 20 69 6e 74 65 | 67 65 72 3b 20 7b 20 6e |y : inte|ger; { n|
|00002e30| 6f 2e 20 6f 66 20 6d 73 | 67 73 20 70 6f 73 74 65 |o. of ms|gs poste|
|00002e40| 64 20 74 6f 64 61 79 20 | 62 79 20 75 73 65 72 20 |d today |by user |
|00002e50| 7d 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |}. | |
|00002e60| 20 20 20 20 65 6e 64 3b | 0d 20 20 20 20 20 4c 61 | end;|. La|
|00002e70| 75 6e 63 68 53 74 72 75 | 63 74 20 3d 20 70 61 63 |unchStru|ct = pac|
|00002e80| 6b 65 64 20 72 65 63 6f | 72 64 0d 20 20 20 20 20 |ked reco|rd. |
|00002e90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002ea0| 20 20 70 66 4e 61 6d 65 | 20 3a 20 5e 53 74 72 32 | pfName| : ^Str2|
|00002eb0| 35 35 3b 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |55;. | |
|00002ec0| 20 20 20 20 20 20 20 20 | 20 20 20 70 61 72 61 6d | | param|
|00002ed0| 20 3a 20 69 6e 74 65 67 | 65 72 3b 0d 20 20 20 20 | : integ|er;. |
|00002ee0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002ef0| 20 20 20 4c 43 20 3a 20 | 70 61 63 6b 65 64 20 61 | LC : |packed a|
|00002f00| 72 72 61 79 20 5b 30 2e | 2e 31 5d 20 6f 66 20 63 |rray [0.|.1] of c|
|00002f10| 68 61 72 3b 20 7b 20 73 | 74 61 72 74 20 6f 66 20 |har; { s|tart of |
|00002f20| 65 78 74 2e 20 70 61 72 | 61 6d 20 62 6c 6b 20 7d |ext. par|am blk }|
|00002f30| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00002f40| 20 20 20 20 20 20 20 20 | 45 78 74 42 6c 6f 63 6b | |ExtBlock|
|00002f50| 4c 65 6e 20 3a 20 4c 6f | 6e 67 49 6e 74 3b 20 7b |Len : Lo|ngInt; {|
|00002f60| 20 6e 6f 2e 20 6f 66 20 | 62 79 74 65 73 20 69 6e | no. of |bytes in|
|00002f70| 20 65 78 74 2e 20 3d 20 | 36 20 7d 0d 20 20 20 20 | ext. = |6 }. |
|00002f80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002f90| 20 20 20 66 46 6c 61 67 | 73 20 3a 20 69 6e 74 65 | fFlag|s : inte|
|00002fa0| 67 65 72 3b 20 7b 20 46 | 69 6e 64 65 72 20 66 69 |ger; { F|inder fi|
|00002fb0| 6c 65 20 69 6e 66 6f 20 | 66 6c 61 67 73 20 7d 0d |le info |flags }.|
|00002fc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002fd0| 20 20 20 20 20 20 20 4c | 61 75 6e 63 68 46 6c 61 | L|aunchFla|
|00002fe0| 67 73 20 3a 20 4c 6f 6e | 67 49 6e 74 3b 20 7b 20 |gs : Lon|gInt; { |
|00002ff0| 62 69 74 73 20 33 30 2c | 33 31 20 3d 20 73 75 62 |bits 30,|31 = sub|
|00003000| 6c 61 75 6e 63 68 20 7d | 0d 20 20 20 20 20 20 20 |launch }|. |
|00003010| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 65 6e 64 | | end|
|00003020| 3b 0d 20 20 20 20 20 70 | 4c 61 75 6e 63 68 53 74 |;. p|LaunchSt|
|00003030| 72 75 63 74 20 3d 20 5e | 4c 61 75 6e 63 68 53 74 |ruct = ^|LaunchSt|
|00003040| 72 75 63 74 3b 0d 20 20 | 20 20 0d 09 6d 65 6e 75 |ruct;. | ..menu|
|00003050| 74 79 70 65 3d 20 70 61 | 63 6b 65 64 20 61 72 72 |type= pa|cked arr|
|00003060| 61 79 20 5b 31 2e 2e 31 | 5d 20 6f 66 0d 20 20 20 |ay [1..1|] of. |
|00003070| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 72 65 | | re|
|00003080| 63 6f 72 64 0d 20 20 20 | 20 20 20 20 20 20 20 20 |cord. | |
|00003090| 20 20 20 20 20 20 20 20 | 20 6f 72 69 67 69 6e 61 | | origina|
|000030a0| 6c 20 3a 20 73 74 72 69 | 6e 67 5b 35 5d 3b 0d 20 |l : stri|ng[5];. |
|000030b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000030c0| 20 20 20 6b 65 79 73 20 | 3a 20 73 74 72 69 6e 67 | keys |: string|
|000030d0| 5b 35 5d 3b 0d 20 20 20 | 20 20 20 20 20 20 20 20 |[5];. | |
|000030e0| 20 20 20 20 20 20 20 20 | 20 6c 65 76 65 6c 20 3a | | level :|
|000030f0| 20 70 61 63 6b 65 64 20 | 61 72 72 61 79 20 5b 31 | packed |array [1|
|00003100| 2e 2e 32 5d 20 6f 66 20 | 62 79 74 65 3b 0d 20 20 |..2] of |byte;. |
|00003110| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 65 | | e|
|00003120| 6e 64 3b 0d 0d 20 20 20 | 20 70 6d 65 6e 75 74 79 |nd;.. | pmenuty|
|00003130| 70 65 20 3d 20 5e 6d 65 | 6e 75 74 79 70 65 3b 0d |pe = ^me|nutype;.|
|00003140| 0d 20 20 20 20 62 75 66 | 66 74 79 70 65 3d 20 70 |. buf|ftype= p|
|00003150| 61 63 6b 65 64 20 61 72 | 72 61 79 20 5b 30 2e 2e |acked ar|ray [0..|
|00003160| 30 5d 20 6f 66 20 63 68 | 61 72 3b 0d 0d 20 20 20 |0] of ch|ar;.. |
|00003170| 20 70 62 75 66 66 74 79 | 70 65 20 3d 20 5e 62 75 | pbuffty|pe = ^bu|
|00003180| 66 66 74 79 70 65 3b 0d | 0d 76 61 72 20 0d 20 20 |fftype;.|.var . |
|00003190| 20 20 28 2a 20 7b 20 66 | 69 6c 65 20 76 61 72 73 | (* { f|ile vars|
|000031a0| 20 66 6f 72 20 64 69 66 | 66 65 72 65 6e 74 20 74 | for dif|ferent t|
|000031b0| 79 70 65 73 20 6f 66 20 | 66 69 6c 65 73 20 7d 0d |ypes of |files }.|
|000031c0| 09 0d 09 73 66 3a 66 69 | 6c 65 20 6f 66 20 73 6d |...sf:fi|le of sm|
|000031d0| 61 6c 72 65 63 3b 20 7b | 20 66 69 6c 65 6e 61 6d |alrec; {| filenam|
|000031e0| 65 20 3d 20 67 66 69 6c | 65 73 5c 6e 61 6d 65 73 |e = gfil|es\names|
|000031f0| 2e 6c 73 74 20 7d 0d 20 | 20 20 20 75 66 3a 66 69 |.lst }. | uf:fi|
|00003200| 6c 65 20 6f 66 20 75 73 | 65 72 72 65 63 3b 20 7b |le of us|errec; {|
|00003210| 20 66 69 6c 65 6e 61 6d | 65 20 3d 20 67 66 69 6c | filenam|e = gfil|
|00003220| 65 73 5c 75 73 65 72 2e | 6c 73 74 20 7d 0d 20 20 |es\user.|lst }. |
|00003230| 20 20 62 66 3a 66 69 6c | 65 20 6f 66 20 62 6f 61 | bf:fil|e of boa|
|00003240| 72 64 72 65 63 3b 20 7b | 20 66 69 6c 65 6e 61 6d |rdrec; {| filenam|
|00003250| 65 20 3d 20 67 66 69 6c | 65 73 5c 62 6f 61 72 64 |e = gfil|es\board|
|00003260| 73 2e 64 61 74 20 7d 0d | 20 20 20 20 6d 66 3a 66 |s.dat }.| mf:f|
|00003270| 69 6c 65 20 6f 66 20 6d | 65 73 73 61 67 65 72 65 |ile of m|essagere|
|00003280| 63 3b 20 7b 20 66 69 6c | 65 6e 61 6d 65 20 3d 20 |c; { fil|ename = |
|00003290| 67 66 69 6c 65 73 5c 20 | 2b 20 62 6f 61 72 64 73 |gfiles\ |+ boards|
|000032a0| 5b 62 6f 61 72 64 5d 2e | 66 69 6c 65 6e 61 6d 65 |[board].|filename|
|000032b0| 20 7d 0d 20 20 20 20 6d | 61 69 6c 66 69 6c 65 3a | }. m|ailfile:|
|000032c0| 66 69 6c 65 20 6f 66 20 | 6d 61 69 6c 72 65 63 3b |file of |mailrec;|
|000032d0| 20 7b 20 66 69 6c 65 6e | 61 6d 65 20 3d 20 67 66 | { filen|ame = gf|
|000032e0| 69 6c 65 73 5c 65 6d 61 | 69 6c 2e 64 61 74 20 7d |iles\ema|il.dat }|
|000032f0| 0d 20 20 20 20 73 79 73 | 74 61 74 66 3a 66 69 6c |. sys|tatf:fil|
|00003300| 65 20 6f 66 20 73 79 73 | 74 61 74 72 65 63 3b 20 |e of sys|tatrec; |
|00003310| 7b 20 66 69 6c 65 6e 61 | 6d 65 20 3d 20 67 66 69 |{ filena|me = gfi|
|00003320| 6c 65 73 5c 73 74 61 74 | 75 73 20 7d 0d 20 20 20 |les\stat|us }. |
|00003330| 20 73 6d 66 3a 66 69 6c | 65 20 6f 66 20 73 6d 72 | smf:fil|e of smr|
|00003340| 3b 20 7b 20 66 69 6c 65 | 6e 61 6d 65 20 3d 20 67 |; { file|name = g|
|00003350| 66 69 6c 65 73 5c 73 68 | 6f 72 74 6d 73 67 2e 64 |files\sh|ortmsg.d|
|00003360| 61 74 20 7d 0d 20 20 20 | 20 75 6c 66 20 3a 20 66 |at }. | ulf : f|
|00003370| 69 6c 65 20 6f 66 20 75 | 6c 72 65 63 3b 20 7b 20 |ile of u|lrec; { |
|00003380| 66 69 6c 65 6e 61 6d 65 | 20 3d 20 67 66 69 6c 65 |filename| = gfile|
|00003390| 73 5c 75 70 6c 6f 61 64 | 73 2e 64 61 74 20 7d 0d |s\upload|s.dat }.|
|000033a0| 09 75 6c 66 66 20 3a 20 | 66 69 6c 65 20 6f 66 20 |.ulff : |file of |
|000033b0| 75 6c 66 72 65 63 3b 20 | 7b 20 66 69 6c 65 6e 61 |ulfrec; |{ filena|
|000033c0| 6d 65 20 3d 20 67 66 69 | 6c 65 73 5c 20 2b 20 75 |me = gfi|les\ + u|
|000033d0| 62 6f 61 72 64 73 5b 62 | 6f 61 72 64 5d 2e 66 69 |boards[b|oard].fi|
|000033e0| 6c 65 6e 61 6d 65 20 7d | 0d 09 66 69 6c 20 3a 20 |lename }|..fil : |
|000033f0| 66 69 6c 65 20 6f 66 20 | 70 6e 72 3b 20 7b 20 66 |file of |pnr; { f|
|00003400| 69 6c 65 6e 61 6d 65 20 | 3d 20 67 66 69 6c 65 73 |ilename |= gfiles|
|00003410| 5c 6e 75 6d 62 65 72 73 | 2e 74 72 6d 20 7d 0d 20 |\numbers|.trm }. |
|00003420| 20 20 20 76 64 66 20 3a | 20 66 69 6c 65 20 6f 66 | vdf :| file of|
|00003430| 20 76 64 61 74 61 72 3b | 20 7b 20 66 69 6c 65 6e | vdatar;| { filen|
|00003440| 61 6d 65 20 3d 20 67 66 | 69 6c 65 73 5c 76 6f 74 |ame = gf|iles\vot|
|00003450| 69 6e 67 2e 64 61 74 20 | 7d 0d 09 63 66 20 3a 20 |ing.dat |}..cf : |
|00003460| 66 69 6c 65 20 6f 66 20 | 73 6d 72 3b 20 7b 20 66 |file of |smr; { f|
|00003470| 69 6c 65 6e 61 6d 65 20 | 3d 20 67 66 69 6c 65 73 |ilename |= gfiles|
|00003480| 5c 63 68 61 74 2e 6d 73 | 67 20 7d 0d 20 20 20 20 |\chat.ms|g }. |
|00003490| 67 20 3a 20 66 69 6c 65 | 20 6f 66 20 67 66 74 3b |g : file| of gft;|
|000034a0| 20 7b 20 66 69 6c 65 6e | 61 6d 65 20 3d 20 67 66 | { filen|ame = gf|
|000034b0| 69 6c 65 73 5c 67 66 69 | 6c 65 73 2e 64 61 74 20 |iles\gfi|les.dat |
|000034c0| 7d 0d 09 66 69 6c 20 3a | 20 66 69 6c 65 20 6f 66 |}..fil :| file of|
|000034d0| 20 73 74 72 74 79 70 65 | 3b 20 7b 20 66 69 6c 65 | strtype|; { file|
|000034e0| 6e 61 6d 65 20 3d 20 67 | 66 69 6c 65 73 5c 6c 61 |name = g|files\la|
|000034f0| 73 74 6f 6e 2e 66 69 6c | 20 2d 20 6e 61 6d 65 73 |ston.fil| - names|
|00003500| 20 6f 66 20 6c 61 73 74 | 20 38 20 63 61 6c 6c 65 | of last| 8 calle|
|00003510| 72 73 20 7d 20 0d 09 0d | 20 20 20 20 73 79 73 6f |rs } ...| syso|
|00003520| 70 66 3a 63 68 61 72 66 | 69 6c 3b 20 7b 20 66 69 |pf:charf|il; { fi|
|00003530| 6c 65 6e 61 6d 65 20 3d | 20 67 66 69 6c 65 73 5c |lename =| gfiles\|
|00003540| 73 79 73 6f 70 2e 6c 6f | 67 2c 20 61 6e 64 20 67 |sysop.lo|g, and g|
|00003550| 66 69 6c 65 73 5c 79 73 | 79 73 6f 70 2e 6c 6f 67 |files\ys|ysop.log|
|00003560| 20 2d 20 74 6f 64 61 79 | 27 73 20 26 20 79 65 73 | - today|'s & yes|
|00003570| 74 65 72 64 61 79 27 73 | 20 6c 6f 67 73 20 7d 0d |terday's| logs }.|
|00003580| 09 7b 20 61 6c 73 6f 20 | 6f 74 68 65 72 20 74 65 |.{ also |other te|
|00003590| 78 74 20 66 69 6c 65 73 | 20 3a 20 67 66 69 6c 65 |xt files| : gfile|
|000035a0| 73 5c 74 72 61 73 68 63 | 61 6e 2e 74 78 74 20 2d |s\trashc|an.txt -|
|000035b0| 20 63 6f 6e 74 61 69 6e | 73 20 69 6c 6c 65 67 61 | contain|s illega|
|000035c0| 6c 20 6e 61 6d 65 73 20 | 66 6f 72 20 61 6c 69 61 |l names |for alia|
|000035d0| 73 65 73 20 7d 0d 09 7b | 20 67 66 69 6c 65 73 5c |ses }..{| gfiles\|
|000035e0| 75 73 65 72 2e 6c 6f 67 | 20 2d 20 6c 6f 67 20 6f |user.log| - log o|
|000035f0| 66 20 74 6f 64 61 79 27 | 73 20 63 61 6c 6c 65 72 |f today'|s caller|
|00003600| 73 20 6e 61 6d 65 73 20 | 7d 0d 09 7b 20 67 66 69 |s names |}..{ gfi|
|00003610| 6c 65 73 5c 76 6f 74 65 | 73 2e 74 78 74 20 2d 20 |les\vote|s.txt - |
|00003620| 6f 75 74 70 75 74 20 6f | 66 20 76 6f 74 69 6e 67 |output o|f voting|
|00003630| 20 64 61 74 61 20 7d 0d | 09 7b 20 67 66 69 6c 65 | data }.|.{ gfile|
|00003640| 73 5c 62 62 73 6c 69 73 | 74 2e 6d 73 67 20 2d 20 |s\bbslis|t.msg - |
|00003650| 6c 69 73 74 20 6f 66 20 | 62 62 73 27 73 20 7d 0d |list of |bbs's }.|
|00003660| 09 7b 20 67 66 69 6c 65 | 73 5c 61 75 74 6f 2e 6d |.{ gfile|s\auto.m|
|00003670| 73 67 20 2d 20 61 75 74 | 6f 20 6d 73 67 20 7d 0d |sg - aut|o msg }.|
|00003680| 09 2a 29 0d 20 20 20 20 | 0d 09 73 75 62 6c 61 75 |.*). |..sublau|
|00003690| 6e 63 68 20 3a 20 62 6f | 6f 6c 65 61 6e 3b 0d 09 |nch : bo|olean;..|
|000036a0| 6c 61 75 6e 63 68 66 69 | 6c 65 20 3a 20 66 69 6c |launchfi|le : fil|
|000036b0| 65 20 6f 66 20 6c 61 75 | 6e 63 68 72 65 63 3b 0d |e of lau|nchrec;.|
|000036c0| 09 72 65 74 75 72 6e 70 | 72 6f 67 20 3a 20 53 74 |.returnp|rog : St|
|000036d0| 72 32 35 35 3b 20 7b 20 | 77 68 6f 20 63 61 6c 6c |r255; { |who call|
|000036e0| 65 64 20 75 73 20 7d 0d | 09 61 70 70 6e 61 6d 65 |ed us }.|.appname|
|000036f0| 20 3a 20 53 74 72 32 35 | 35 3b 20 7b 20 74 68 69 | : Str25|5; { thi|
|00003700| 73 20 70 72 6f 67 72 61 | 6d 27 73 20 6e 61 6d 65 |s progra|m's name|
|00003710| 20 7d 0d 09 74 65 6d 70 | 69 6e 74 20 3a 20 69 6e | }..temp|int : in|
|00003720| 74 65 67 65 72 3b 0d 09 | 74 65 6d 70 73 74 72 20 |teger;..|tempstr |
|00003730| 3a 20 53 74 72 32 35 35 | 3b 0d 09 74 65 6d 70 48 |: Str255|;..tempH|
|00003740| 61 6e 64 6c 65 20 3a 20 | 48 61 6e 64 6c 65 3b 0d |andle : |Handle;.|
|00003750| 09 74 65 6d 70 62 6f 6f | 6c 20 3a 20 62 6f 6f 6c |.tempboo|l : bool|
|00003760| 65 61 6e 3b 0d 09 0d 09 | 74 68 65 44 69 61 6c 6f |ean;....|theDialo|
|00003770| 67 20 3a 20 44 69 61 6c | 6f 67 50 74 72 3b 0d 09 |g : Dial|ogPtr;..|
|00003780| 6d 79 45 76 65 6e 74 20 | 3a 20 45 76 65 6e 74 52 |myEvent |: EventR|
|00003790| 65 63 6f 72 64 3b 0d 09 | 6d 79 4d 65 6e 75 73 09 |ecord;..|myMenus.|
|000037a0| 3a 20 61 72 72 61 79 20 | 5b 31 2e 2e 33 5d 20 6f |: array |[1..3] o|
|000037b0| 66 20 4d 65 6e 75 48 61 | 6e 64 6c 65 3b 20 7b 20 |f MenuHa|ndle; { |
|000037c0| 61 72 72 61 79 20 6f 66 | 20 68 61 6e 64 6c 65 73 |array of| handles|
|000037d0| 20 74 6f 20 74 68 65 20 | 6d 65 6e 75 73 20 7d 0d | to the |menus }.|
|000037e0| 09 6d 79 43 68 61 72 20 | 3a 20 63 68 61 72 3b 0d |.myChar |: char;.|
|000037f0| 09 70 61 72 74 43 6f 64 | 65 20 3a 20 69 6e 74 65 |.partCod|e : inte|
|00003800| 67 65 72 3b 0d 09 6d 79 | 57 69 6e 64 6f 77 20 3a |ger;..my|Window :|
|00003810| 20 57 69 6e 64 6f 77 50 | 74 72 3b 0d 09 74 65 6d | WindowP|tr;..tem|
|00003820| 70 50 6f 72 74 20 3a 20 | 47 72 61 66 50 74 72 3b |pPort : |GrafPtr;|
|00003830| 0d 09 0d 09 74 69 6d 65 | 73 74 72 2c 64 61 74 65 |....time|str,date|
|00003840| 73 74 72 20 3a 20 53 74 | 72 32 35 35 3b 0d 09 74 |str : St|r255;..t|
|00003850| 65 6d 70 6c 6f 6e 67 20 | 3a 20 4c 6f 6e 67 49 6e |emplong |: LongIn|
|00003860| 74 3b 0d 09 74 68 65 44 | 61 74 65 54 69 6d 65 52 |t;..theD|ateTimeR|
|00003870| 65 63 20 3a 20 44 61 74 | 65 54 69 6d 65 52 65 63 |ec : Dat|eTimeRec|
|00003880| 3b 0d 09 63 6f 75 6e 74 | 65 72 20 3a 20 4c 6f 6e |;..count|er : Lon|
|00003890| 67 49 6e 74 3b 0d 09 0d | 09 74 65 6d 70 50 74 72 |gInt;...|.tempPtr|
|000038a0| 20 3a 20 5e 69 6e 74 65 | 67 65 72 3b 0d 20 20 20 | : ^inte|ger;. |
|000038b0| 20 61 62 6f 72 74 65 64 | 2c 66 69 6e 69 73 68 65 | aborted|,finishe|
|000038c0| 64 20 3a 20 62 6f 6f 6c | 65 61 6e 3b 20 7b 20 6d |d : bool|ean; { m|
|000038d0| 69 73 63 20 70 72 6f 67 | 72 61 6d 20 66 6c 61 67 |isc prog|ram flag|
|000038e0| 73 20 7d 0d 09 0d 09 7b | 20 63 6f 6e 66 69 67 75 |s }....{| configu|
|000038f0| 72 61 74 69 6f 6e 20 76 | 61 72 69 61 62 6c 65 73 |ration v|ariables|
|00003900| 20 7d 0d 09 44 65 66 61 | 75 6c 74 57 44 20 3a 20 | }..Defa|ultWD : |
|00003910| 69 6e 74 65 67 65 72 3b | 0d 09 55 73 69 6e 67 48 |integer;|..UsingH|
|00003920| 46 53 20 3a 20 62 6f 6f | 6c 65 61 6e 3b 0d 20 20 |FS : boo|lean;. |
|00003930| 20 20 68 61 73 31 32 38 | 6b 52 4f 4d 20 3a 20 62 | has128|kROM : b|
|00003940| 6f 6f 6c 65 61 6e 3b 0d | 09 68 61 73 4a 75 67 67 |oolean;.|.hasJugg|
|00003950| 6c 65 72 20 3a 20 62 6f | 6f 6c 65 61 6e 3b 0d 09 |ler : bo|olean;..|
|00003960| 0d 09 7b 20 66 6f 72 20 | 67 65 74 74 69 6e 67 20 |..{ for |getting |
|00003970| 42 42 53 20 72 65 73 6f | 75 72 63 65 73 20 7d 0d |BBS reso|urces }.|
|00003980| 09 42 42 53 72 65 66 4e | 75 6d 20 3a 20 69 6e 74 |.BBSrefN|um : int|
|00003990| 65 67 65 72 3b 0d 09 49 | 4f 45 72 72 6f 72 20 3a |eger;..I|OError :|
|000039a0| 20 4f 53 45 72 72 3b 0d | 09 0d 09 74 68 69 73 75 | OSErr;.|...thisu|
|000039b0| 73 65 72 20 3a 20 75 73 | 65 72 72 65 63 3b 0d 09 |ser : us|errec;..|
|000039c0| 72 65 61 6c 73 6c 20 3a | 20 69 6e 74 65 67 65 72 |realsl :| integer|
|000039d0| 3b 0d 09 75 73 65 72 6f | 6e 2c 68 75 6e 67 75 70 |;..usero|n,hungup|
|000039e0| 2c 68 61 6e 67 75 70 2c | 69 6e 63 6f 6d 2c 6f 75 |,hangup,|incom,ou|
|000039f0| 74 63 6f 6d 3a 62 6f 6f | 6c 65 61 6e 3b 20 7b 20 |tcom:boo|lean; { |
|00003a00| 6d 69 73 63 2e 20 42 42 | 53 20 66 6c 61 67 73 20 |misc. BB|S flags |
|00003a10| 7d 0d 20 20 20 20 74 74 | 69 6d 65 2c 65 78 74 72 |}. tt|ime,extr|
|00003a20| 61 74 69 6d 65 2c 63 68 | 61 74 74 69 6d 65 2c 74 |atime,ch|attime,t|
|00003a30| 69 6d 65 6f 6e 20 3a 20 | 72 65 61 6c 3b 20 7b 20 |imeon : |real; { |
|00003a40| 74 69 6d 65 20 6f 6e 20 | 61 6e 64 20 6c 65 66 74 |time on |and left|
|00003a50| 20 65 74 63 20 7d 0d 09 | 62 75 66 66 65 72 20 3a | etc }..|buffer :|
|00003a60| 20 70 61 63 6b 65 64 20 | 61 72 72 61 79 20 5b 30 | packed |array [0|
|00003a70| 2e 2e 62 75 66 66 65 72 | 5f 4d 61 78 5d 20 6f 66 |..buffer|_Max] of|
|00003a80| 20 63 68 61 72 3b 20 7b | 20 74 68 65 20 75 73 65 | char; {| the use|
|00003a90| 72 27 73 20 62 75 66 66 | 65 72 20 7d 0d 20 20 20 |r's buff|er }. |
|00003aa0| 20 62 75 66 66 65 72 5f | 48 65 61 64 2c 62 75 66 | buffer_|Head,buf|
|00003ab0| 66 65 72 5f 74 61 69 6c | 3a 49 6e 74 65 67 65 72 |fer_tail|:Integer|
|00003ac0| 3b 0d 20 20 20 20 73 70 | 64 20 3a 73 74 72 74 79 |;. sp|d :strty|
|00003ad0| 70 65 3b 20 7b 20 74 68 | 65 20 63 75 72 72 65 6e |pe; { th|e curren|
|00003ae0| 74 20 62 61 75 64 20 72 | 61 74 65 20 69 6e 63 6c |t baud r|ate incl|
|00003af0| 2e 20 73 75 66 66 69 78 | 20 73 74 72 69 6e 67 20 |. suffix| string |
|00003b00| 7d 0d 09 73 65 72 62 75 | 66 66 20 3a 20 70 62 75 |}..serbu|ff : pbu|
|00003b10| 66 66 74 79 70 65 3b 20 | 7b 20 74 68 65 20 73 65 |fftype; |{ the se|
|00003b20| 72 69 61 6c 20 64 72 69 | 76 65 72 27 73 20 62 75 |rial dri|ver's bu|
|00003b30| 66 66 65 72 20 2d 20 61 | 20 64 65 72 65 66 65 72 |ffer - a| derefer|
|00003b40| 65 6e 63 65 64 20 68 61 | 6e 64 6c 65 20 7d 0d 20 |enced ha|ndle }. |
|00003b50| 20 20 20 63 6f 6d 6e 75 | 6d 20 3a 20 69 6e 74 65 | comnu|m : inte|
|00003b60| 67 65 72 3b 20 7b 20 73 | 65 72 69 61 6c 20 70 6f |ger; { s|erial po|
|00003b70| 72 74 20 6e 6f 2e 20 7d | 0d 20 20 20 20 6d 61 78 |rt no. }|. max|
|00003b80| 62 61 75 64 20 3a 20 4c | 6f 6e 67 49 6e 74 3b 20 |baud : L|ongInt; |
|00003b90| 7b 20 6d 61 78 2e 20 62 | 61 75 64 20 72 61 74 65 |{ max. b|aud rate|
|00003ba0| 20 74 68 61 74 20 42 42 | 53 20 68 61 6e 64 6c 65 | that BB|S handle|
|00003bb0| 73 20 7d 0d 20 20 20 20 | 4d 69 6e 42 61 75 64 20 |s }. |MinBaud |
|00003bc0| 3a 20 69 6e 74 65 67 65 | 72 3b 20 7b 20 6d 69 6e |: intege|r; { min|
|00003bd0| 2e 20 62 61 75 64 20 72 | 61 74 65 20 74 68 61 74 |. baud r|ate that|
|00003be0| 20 42 42 53 20 61 63 63 | 65 70 74 73 2c 20 64 65 | BBS acc|epts, de|
|00003bf0| 66 61 75 6c 74 20 30 20 | 7d 0d 20 20 20 20 6d 6f |fault 0 |}. mo|
|00003c00| 64 65 6d 69 6e 69 74 20 | 3a 20 73 74 72 74 79 70 |deminit |: strtyp|
|00003c10| 65 3b 20 7b 20 6d 6f 64 | 65 6d 20 69 6e 69 74 20 |e; { mod|em init |
|00003c20| 73 74 72 69 6e 67 20 7d | 0d 20 20 20 20 6d 6f 64 |string }|. mod|
|00003c30| 65 6d 77 6f 72 64 73 20 | 3a 20 62 6f 6f 6c 65 61 |emwords |: boolea|
|00003c40| 6e 3b 20 7b 20 6d 6f 64 | 65 6d 20 72 65 73 70 6f |n; { mod|em respo|
|00003c50| 6e 73 65 20 69 6e 20 77 | 6f 72 64 73 20 7d 0d 09 |nse in w|ords }..|
|00003c60| 6d 6f 64 65 6d 65 73 63 | 20 3a 20 73 74 72 69 6e |modemesc| : strin|
|00003c70| 67 5b 33 5d 3b 20 7b 20 | 27 2b 2b 2b 27 20 6d 6f |g[3]; { |'+++' mo|
|00003c80| 64 65 6d 20 65 73 63 61 | 70 65 20 73 74 72 20 7d |dem esca|pe str }|
|00003c90| 0d 20 20 20 20 0d 09 63 | 6f 6d 70 74 79 70 3a 61 |. ..c|omptyp:a|
|00003ca0| 72 72 61 79 5b 31 2e 2e | 6e 75 6d 63 6f 6d 70 74 |rray[1..|numcompt|
|00003cb0| 79 70 65 73 5d 20 6f 66 | 20 73 74 72 69 6e 67 5b |ypes] of| string[|
|00003cc0| 31 34 5d 3b 20 7b 20 63 | 6f 6d 70 75 74 65 72 20 |14]; { c|omputer |
|00003cd0| 74 79 70 65 73 20 7d 0d | 20 20 20 20 62 73 63 68 |types }.| bsch|
|00003ce0| 72 2c 63 72 63 68 72 2c | 6c 66 63 68 72 2c 6e 75 |r,crchr,|lfchr,nu|
|00003cf0| 6c 63 68 72 2c 66 66 63 | 68 72 2c 62 65 6c 6c 63 |lchr,ffc|hr,bellc|
|00003d00| 68 72 2c 73 6f 68 63 68 | 72 20 3a 20 73 74 72 69 |hr,sohch|r : stri|
|00003d10| 6e 67 20 5b 31 5d 3b 20 | 7b 20 63 6f 6e 74 72 6f |ng [1]; |{ contro|
|00003d20| 6c 20 63 68 61 72 73 20 | 7d 0d 09 0d 20 20 20 20 |l chars |}... |
|00003d30| 7b 20 70 61 74 68 6e 61 | 6d 65 73 20 66 6f 72 20 |{ pathna|mes for |
|00003d40| 47 46 69 6c 65 73 2c 20 | 44 4c 6f 61 64 73 2c 20 |GFiles, |DLoads, |
|00003d50| 4d 73 67 73 20 7d 0d 20 | 20 20 20 67 66 69 6c 65 |Msgs }. | gfile|
|00003d60| 73 70 61 74 68 20 3a 20 | 73 74 72 74 79 70 65 3b |spath : |strtype;|
|00003d70| 0d 20 20 20 20 70 61 74 | 68 64 6c 6f 61 64 73 20 |. pat|hdloads |
|00003d80| 3a 20 73 74 72 74 79 70 | 65 3b 0d 20 20 20 20 70 |: strtyp|e;. p|
|00003d90| 61 74 68 6d 73 67 73 20 | 3a 20 73 74 72 74 79 70 |athmsgs |: strtyp|
|00003da0| 65 3b 0d 0d 20 20 20 20 | 6d 73 67 73 70 61 74 68 |e;.. |msgspath|
|00003db0| 20 3a 20 70 61 63 6b 65 | 64 20 61 72 72 61 79 20 | : packe|d array |
|00003dc0| 5b 30 2e 2e 31 39 5d 20 | 6f 66 20 73 74 72 69 6e |[0..19] |of strin|
|00003dd0| 67 5b 38 30 5d 3b 0d 20 | 20 20 20 64 6c 6f 61 64 |g[80];. | dload|
|00003de0| 73 70 61 74 68 20 3a 20 | 70 61 63 6b 65 64 20 61 |spath : |packed a|
|00003df0| 72 72 61 79 20 5b 30 2e | 2e 31 39 5d 20 6f 66 20 |rray [0.|.19] of |
|00003e00| 73 74 72 69 6e 67 5b 38 | 30 5d 3b 0d 20 20 20 20 |string[8|0];. |
|00003e10| 0d 20 20 20 20 64 65 62 | 75 67 67 69 6e 67 20 3a |. deb|ugging :|
|00003e20| 20 62 6f 6f 6c 65 61 6e | 3b 0d 0d 20 20 20 20 6d | boolean|;.. m|
|00003e30| 61 78 75 73 65 72 73 20 | 3a 20 69 6e 74 65 67 65 |axusers |: intege|
|00003e40| 72 3b 0d 20 20 20 20 73 | 65 72 62 75 66 5f 53 69 |r;. s|erbuf_Si|
|00003e50| 7a 65 20 3a 20 69 6e 74 | 65 67 65 72 3b 0d 20 20 |ze : int|eger;. |
|00003e60| 20 20 68 65 6c 70 5f 73 | 69 7a 65 20 3a 20 69 6e | help_s|ize : in|
|00003e70| 74 65 67 65 72 3b 0d 0d | 20 20 20 20 6d 65 6e 75 |teger;..| menu|
|00003e80| 6b 65 79 73 20 3a 20 70 | 6d 65 6e 75 74 79 70 65 |keys : p|menutype|
|00003e90| 3b 0d 20 20 20 20 73 74 | 61 72 74 6c 65 76 65 6c |;. st|artlevel|
|00003ea0| 2c 4e 75 6d 4d 65 6e 75 | 49 74 65 6d 73 20 3a 20 |,NumMenu|Items : |
|00003eb0| 69 6e 74 65 67 65 72 3b | 0d 20 20 20 20 6d 65 6e |integer;|. men|
|00003ec0| 75 68 65 6c 70 20 3a 20 | 70 61 63 6b 65 64 20 61 |uhelp : |packed a|
|00003ed0| 72 72 61 79 20 5b 30 2e | 2e 33 5d 20 6f 66 20 73 |rray [0.|.3] of s|
|00003ee0| 74 72 69 6e 67 5b 31 35 | 5d 3b 0d 20 20 20 20 77 |tring[15|];. w|
|00003ef0| 69 6e 64 63 68 61 72 73 | 2c 77 69 6e 64 6c 69 6e |indchars|,windlin|
|00003f00| 65 73 20 3a 20 69 6e 74 | 65 67 65 72 3b 0d 0d 20 |es : int|eger;.. |
|00003f10| 20 20 20 20 55 73 69 6e | 67 52 61 74 69 6f 20 3a | Usin|gRatio :|
|00003f20| 20 62 6f 6f 6c 65 61 6e | 3b 20 7b 20 65 6e 66 6f | boolean|; { enfo|
|00003f30| 72 63 65 20 75 70 6c 6f | 61 64 2f 64 6f 77 6e 6c |rce uplo|ad/downl|
|00003f40| 6f 61 64 20 72 61 74 69 | 6f 2c 20 64 65 66 61 75 |oad rati|o, defau|
|00003f50| 6c 74 20 6e 6f 20 7d 0d | 0d 20 20 20 20 20 6a 75 |lt no }.|. ju|
|00003f60| 67 67 6c 65 72 44 65 6c | 61 79 20 3a 20 4c 6f 6e |gglerDel|ay : Lon|
|00003f70| 67 49 6e 74 3b 0d 20 20 | 20 20 20 73 79 73 6f 70 |gInt;. | sysop|
|00003f80| 6f 6e 2c 73 79 73 6f 70 | 6f 66 66 20 3a 20 69 6e |on,sysop|off : in|
|00003f90| 74 65 67 65 72 3b 20 7b | 20 73 79 73 6f 70 20 63 |teger; {| sysop c|
|00003fa0| 68 61 74 20 74 69 6d 65 | 20 73 74 61 72 74 2c 20 |hat time| start, |
|00003fb0| 65 6e 64 20 7d 0d 20 20 | 20 20 20 7b 20 75 2f 6c |end }. | { u/l|
|00003fc0| 20 74 6f 20 64 2f 6c 20 | 72 61 74 69 6f 20 3a 20 | to d/l |ratio : |
|00003fd0| 53 4c 20 3e 20 73 6c 72 | 61 74 69 6f 2c 20 53 4c |SL > slr|atio, SL|
|00003fe0| 20 3c 3d 20 73 6c 72 61 | 74 69 6f 20 7d 0d 20 20 | <= slra|tio }. |
|00003ff0| 20 20 20 68 69 72 61 74 | 69 6f 2c 6c 6f 72 61 74 | hirat|io,lorat|
|00004000| 69 6f 2c 73 6c 72 61 74 | 69 6f 20 3a 20 69 6e 74 |io,slrat|io : int|
|00004010| 65 67 65 72 3b 0d 0d 20 | 20 20 20 20 4d 53 44 4f |eger;.. | MSDO|
|00004020| 53 4e 61 6d 65 73 20 3a | 20 62 6f 6f 6c 65 61 6e |SNames :| boolean|
|00004030| 3b 0d 20 20 20 20 20 6e | 61 6d 65 73 69 7a 65 20 |;. n|amesize |
|00004040| 3a 20 69 6e 74 65 67 65 | 72 3b 20 0d 20 20 20 20 |: intege|r; . |
|00004050| 20 79 6d 62 6d 61 78 20 | 3a 20 69 6e 74 65 67 65 | ymbmax |: intege|
|00004060| 72 3b 0d 20 20 20 20 20 | 78 66 65 72 53 69 7a 65 |r;. |xferSize|
|00004070| 20 3a 20 69 6e 74 65 67 | 65 72 3b 0d 20 20 20 20 | : integ|er;. |
|00004080| 20 74 69 6d 65 6c 69 6d | 69 74 20 3a 20 62 6f 6f | timelim|it : boo|
|00004090| 6c 65 61 6e 3b 0d 0d 20 | 20 20 20 20 65 78 74 61 |lean;.. | exta|
|000040a0| 70 70 6f 6e 2c 65 78 74 | 61 70 70 6f 66 66 20 3a |ppon,ext|appoff :|
|000040b0| 20 69 6e 74 65 67 65 72 | 3b 20 7b 20 65 78 74 2e | integer|; { ext.|
|000040c0| 20 61 70 70 20 6c 61 75 | 6e 63 68 20 74 69 6d 65 | app lau|nch time|
|000040d0| 20 73 74 61 72 74 2c 65 | 6e 64 20 7d 0d 20 20 20 | start,e|nd }. |
|000040e0| 20 20 65 78 74 61 70 70 | 6e 61 6d 65 20 3a 20 73 | extapp|name : s|
|000040f0| 74 72 69 6e 67 5b 38 30 | 5d 3b 20 7b 20 65 78 74 |tring[80|]; { ext|
|00004100| 2e 20 61 70 70 2e 20 74 | 6f 20 62 65 20 6c 61 75 |. app. t|o be lau|
|00004110| 6e 63 68 65 64 20 7d 0d | 20 20 20 20 20 65 78 74 |nched }.| ext|
|00004120| 61 70 70 61 72 6d 73 20 | 3a 20 73 74 72 69 6e 67 |apparms |: string|
|00004130| 5b 38 30 5d 3b 20 7b 20 | 65 78 74 2e 20 61 70 70 |[80]; { |ext. app|
|00004140| 2e 20 70 61 72 61 6d 65 | 74 65 72 73 20 7d 0d 20 |. parame|ters }. |
|00004150| 20 20 20 20 61 6c 6c 6f | 77 73 75 62 6c 61 75 6e | allo|wsublaun|
|00004160| 63 68 20 3a 20 62 6f 6f | 6c 65 61 6e 3b 0d 0d 20 |ch : boo|lean;.. |
|00004170| 20 20 70 72 6f 63 65 64 | 75 72 65 20 49 6e 69 74 | proced|ure Init|
|00004180| 43 6f 6d 6d 6f 6e 3b 0d | 20 20 20 0d 20 20 20 74 |Common;.| . t|
|00004190| 79 70 65 0d 20 20 20 20 | 20 20 20 70 69 6e 74 65 |ype. | pinte|
|000041a0| 67 65 72 20 3d 20 5e 69 | 6e 74 65 67 65 72 3b 0d |ger = ^i|nteger;.|
|000041b0| 20 20 20 20 20 20 20 70 | 6c 6f 6e 67 20 3d 20 5e | p|long = ^|
|000041c0| 4c 6f 6e 67 49 6e 74 3b | 0d 20 20 20 20 20 20 20 |LongInt;|. |
|000041d0| 68 6c 6f 6e 67 20 3d 20 | 5e 70 6c 6f 6e 67 3b 0d |hlong = |^plong;.|
|000041e0| 20 20 20 20 20 20 20 0d | 20 20 20 76 61 72 0d 20 | .| var. |
|000041f0| 20 20 20 20 20 20 74 65 | 6d 70 48 61 6e 64 6c 65 | te|mpHandle|
|00004200| 20 3a 20 48 61 6e 64 6c | 65 3b 0d 20 20 20 20 20 | : Handl|e;. |
|00004210| 20 20 74 65 6d 70 50 74 | 72 20 3a 20 70 69 6e 74 | tempPt|r : pint|
|00004220| 65 67 65 72 3b 0d 20 20 | 20 20 20 20 20 74 65 6d |eger;. | tem|
|00004230| 70 69 6e 74 20 3a 20 69 | 6e 74 65 67 65 72 3b 0d |pint : i|nteger;.|
|00004240| 20 20 20 20 20 20 20 74 | 73 74 72 2c 74 65 6d 70 | t|str,temp|
|00004250| 73 74 72 20 3a 20 53 74 | 72 32 35 35 3b 0d 20 20 |str : St|r255;. |
|00004260| 20 20 20 20 20 74 62 6f | 6f 6c 2c 74 65 6d 70 62 | tbo|ol,tempb|
|00004270| 6f 6f 6c 20 3a 20 62 6f | 6f 6c 65 61 6e 3b 0d 20 |ool : bo|olean;. |
|00004280| 20 20 20 20 20 20 74 65 | 6d 70 6c 6f 6e 67 20 3a | te|mplong :|
|00004290| 20 4c 6f 6e 67 49 6e 74 | 3b 0d 20 20 20 20 20 20 | LongInt|;. |
|000042a0| 20 74 2c 74 70 6f 73 20 | 3a 20 69 6e 74 65 67 65 | t,tpos |: intege|
|000042b0| 72 3b 0d 20 20 20 20 20 | 20 20 6c 6f 6e 67 48 61 |r;. | longHa|
|000042c0| 6e 64 6c 65 20 3a 20 68 | 6c 6f 6e 67 3b 0d 20 20 |ndle : h|long;. |
|000042d0| 20 20 20 20 0d 20 20 20 | 20 20 20 70 72 6f 63 65 | . | proce|
|000042e0| 64 75 72 65 20 67 65 74 | 74 69 6d 65 73 28 76 61 |dure get|times(va|
|000042f0| 72 20 73 74 61 72 74 2c | 73 74 6f 70 20 3a 20 69 |r start,|stop : i|
|00004300| 6e 74 65 67 65 72 29 3b | 0d 0d 20 20 20 20 20 20 |nteger);|.. |
|00004310| 62 65 67 69 6e 0d 20 20 | 20 20 20 20 20 20 20 69 |begin. | i|
|00004320| 66 20 74 65 6d 70 73 74 | 72 20 3c 3e 20 27 27 20 |f tempst|r <> '' |
|00004330| 74 68 65 6e 0d 20 20 20 | 20 20 20 20 20 20 62 65 |then. | be|
|00004340| 67 69 6e 0d 09 20 20 20 | 20 74 70 6f 73 20 3a 3d |gin.. | tpos :=|
|00004350| 20 70 6f 73 28 27 2c 27 | 2c 74 65 6d 70 73 74 72 | pos(','|,tempstr|
|00004360| 29 3b 0d 09 20 20 20 20 | 69 66 20 74 70 6f 73 20 |);.. |if tpos |
|00004370| 3e 20 30 20 74 68 65 6e | 0d 09 20 20 20 20 62 65 |> 0 then|.. be|
|00004380| 67 69 6e 0d 09 20 20 20 | 20 20 20 20 74 73 74 72 |gin.. | tstr|
|00004390| 20 3a 3d 20 63 6f 70 79 | 28 74 65 6d 70 73 74 72 | := copy|(tempstr|
|000043a0| 2c 31 2c 74 70 6f 73 20 | 2d 20 31 29 3b 0d 09 20 |,1,tpos |- 1);.. |
|000043b0| 20 20 20 20 20 20 74 20 | 3a 3d 20 70 6f 73 28 27 | t |:= pos('|
|000043c0| 3a 27 2c 74 73 74 72 29 | 3b 0d 09 20 20 20 20 20 |:',tstr)|;.. |
|000043d0| 20 20 69 66 20 74 20 3e | 20 30 20 74 68 65 6e 0d | if t >| 0 then.|
|000043e0| 09 20 20 20 20 20 20 20 | 62 65 67 69 6e 0d 09 20 |. |begin.. |
|000043f0| 20 20 20 20 20 20 20 20 | 20 53 74 72 69 6e 67 54 | | StringT|
|00004400| 6f 4e 75 6d 28 63 6f 70 | 79 28 74 73 74 72 2c 31 |oNum(cop|y(tstr,1|
|00004410| 2c 74 20 2d 20 31 29 2c | 74 65 6d 70 6c 6f 6e 67 |,t - 1),|templong|
|00004420| 29 3b 0d 09 20 20 20 20 | 20 20 20 20 20 20 64 65 |);.. | de|
|00004430| 6c 65 74 65 28 74 73 74 | 72 2c 31 2c 74 29 3b 0d |lete(tst|r,1,t);.|
|00004440| 09 20 20 20 20 20 20 20 | 20 20 20 73 74 61 72 74 |. | start|
|00004450| 20 3a 3d 20 74 65 6d 70 | 6c 6f 6e 67 3b 0d 09 20 | := temp|long;.. |
|00004460| 20 20 20 20 20 20 65 6e | 64 3b 0d 09 20 20 20 20 | en|d;.. |
|00004470| 20 20 20 53 74 72 69 6e | 67 54 6f 4e 75 6d 28 74 | Strin|gToNum(t|
|00004480| 73 74 72 2c 74 65 6d 70 | 6c 6f 6e 67 29 3b 0d 09 |str,temp|long);..|
|00004490| 20 20 20 20 20 20 20 73 | 74 61 72 74 20 3a 3d 20 | s|tart := |
|000044a0| 73 74 61 72 74 20 2a 20 | 36 30 20 2b 20 74 65 6d |start * |60 + tem|
|000044b0| 70 6c 6f 6e 67 3b 0d 09 | 20 20 20 20 20 20 20 64 |plong;..| d|
|000044c0| 65 6c 65 74 65 28 74 65 | 6d 70 73 74 72 2c 31 2c |elete(te|mpstr,1,|
|000044d0| 74 70 6f 73 29 3b 0d 09 | 20 20 20 20 20 20 20 74 |tpos);..| t|
|000044e0| 70 6f 73 20 3a 3d 20 70 | 6f 73 28 27 2c 27 2c 74 |pos := p|os(',',t|
|000044f0| 65 6d 70 73 74 72 29 3b | 0d 09 20 20 20 20 20 20 |empstr);|.. |
|00004500| 20 69 66 20 74 70 6f 73 | 20 3e 20 30 20 74 68 65 | if tpos| > 0 the|
|00004510| 6e 0d 09 20 20 20 20 20 | 20 20 62 65 67 69 6e 0d |n.. | begin.|
|00004520| 09 20 20 20 20 20 20 20 | 20 20 20 74 73 74 72 20 |. | tstr |
|00004530| 3a 3d 20 63 6f 70 79 28 | 74 65 6d 70 73 74 72 2c |:= copy(|tempstr,|
|00004540| 31 2c 74 70 6f 73 20 2d | 20 31 29 3b 0d 09 20 20 |1,tpos -| 1);.. |
|00004550| 20 20 20 20 20 20 20 20 | 74 20 3a 3d 20 70 6f 73 | |t := pos|
|00004560| 28 27 3a 27 2c 74 73 74 | 72 29 3b 0d 09 20 20 20 |(':',tst|r);.. |
|00004570| 20 20 20 20 20 20 20 69 | 66 20 74 20 3e 20 30 20 | i|f t > 0 |
|00004580| 74 68 65 6e 0d 09 20 20 | 20 20 20 20 20 20 20 20 |then.. | |
|00004590| 62 65 67 69 6e 0d 09 09 | 20 20 20 20 20 53 74 72 |begin...| Str|
|000045a0| 69 6e 67 54 6f 4e 75 6d | 28 63 6f 70 79 28 74 73 |ingToNum|(copy(ts|
|000045b0| 74 72 2c 31 2c 74 20 2d | 20 31 29 2c 74 65 6d 70 |tr,1,t -| 1),temp|
|000045c0| 6c 6f 6e 67 29 3b 0d 09 | 09 20 20 20 20 20 64 65 |long);..|. de|
|000045d0| 6c 65 74 65 28 74 73 74 | 72 2c 31 2c 74 29 3b 0d |lete(tst|r,1,t);.|
|000045e0| 09 09 20 20 20 20 20 73 | 74 6f 70 20 3a 3d 20 74 |.. s|top := t|
|000045f0| 65 6d 70 6c 6f 6e 67 3b | 0d 09 20 20 20 20 20 20 |emplong;|.. |
|00004600| 20 20 20 20 65 6e 64 3b | 0d 09 20 20 20 20 20 20 | end;|.. |
|00004610| 20 20 20 20 53 74 72 69 | 6e 67 54 6f 4e 75 6d 28 | Stri|ngToNum(|
|00004620| 74 73 74 72 2c 74 65 6d | 70 6c 6f 6e 67 29 3b 0d |tstr,tem|plong);.|
|00004630| 09 20 20 20 20 20 20 20 | 20 20 20 73 74 6f 70 20 |. | stop |
|00004640| 3a 3d 20 73 74 6f 70 20 | 2a 20 36 30 20 2b 20 74 |:= stop |* 60 + t|
|00004650| 65 6d 70 6c 6f 6e 67 3b | 0d 09 20 20 20 20 20 20 |emplong;|.. |
|00004660| 20 20 20 20 64 65 6c 65 | 74 65 28 74 65 6d 70 73 | dele|te(temps|
|00004670| 74 72 2c 31 2c 74 70 6f | 73 29 3b 0d 09 20 20 20 |tr,1,tpo|s);.. |
|00004680| 20 20 20 20 65 6e 64 20 | 65 6c 73 65 0d 09 20 20 | end |else.. |
|00004690| 20 20 20 20 20 62 65 67 | 69 6e 0d 09 20 20 20 20 | beg|in.. |
|000046a0| 20 20 20 20 20 20 74 20 | 3a 3d 20 70 6f 73 28 27 | t |:= pos('|
|000046b0| 3a 27 2c 74 65 6d 70 73 | 74 72 29 3b 0d 09 20 20 |:',temps|tr);.. |
|000046c0| 20 20 20 20 20 20 20 20 | 69 66 20 74 20 3e 20 30 | |if t > 0|
|000046d0| 20 74 68 65 6e 0d 09 20 | 20 20 20 20 20 20 20 20 | then.. | |
|000046e0| 20 62 65 67 69 6e 0d 09 | 09 20 20 20 20 20 53 74 | begin..|. St|
|000046f0| 72 69 6e 67 54 6f 4e 75 | 6d 28 63 6f 70 79 28 74 |ringToNu|m(copy(t|
|00004700| 65 6d 70 73 74 72 2c 31 | 2c 74 20 2d 20 31 29 2c |empstr,1|,t - 1),|
|00004710| 74 65 6d 70 6c 6f 6e 67 | 29 3b 0d 09 09 20 20 20 |templong|);... |
|00004720| 20 20 64 65 6c 65 74 65 | 28 74 65 6d 70 73 74 72 | delete|(tempstr|
|00004730| 2c 31 2c 74 29 3b 0d 09 | 09 20 20 20 20 20 73 74 |,1,t);..|. st|
|00004740| 6f 70 20 3a 3d 20 74 65 | 6d 70 6c 6f 6e 67 3b 0d |op := te|mplong;.|
|00004750| 09 20 20 20 20 20 20 20 | 20 20 20 65 6e 64 3b 0d |. | end;.|
|00004760| 09 20 20 20 20 20 20 20 | 20 20 20 53 74 72 69 6e |. | Strin|
|00004770| 67 54 6f 4e 75 6d 28 74 | 65 6d 70 73 74 72 2c 74 |gToNum(t|empstr,t|
|00004780| 65 6d 70 6c 6f 6e 67 29 | 3b 0d 09 20 20 20 20 20 |emplong)|;.. |
|00004790| 20 20 20 20 20 73 74 6f | 70 20 3a 3d 20 73 74 6f | sto|p := sto|
|000047a0| 70 20 2a 20 36 30 20 2b | 20 74 65 6d 70 6c 6f 6e |p * 60 +| templon|
|000047b0| 67 3b 0d 09 20 20 20 20 | 20 20 20 65 6e 64 3b 0d |g;.. | end;.|
|000047c0| 09 20 20 20 20 65 6e 64 | 20 65 6c 73 65 0d 09 20 |. end| else.. |
|000047d0| 20 20 20 62 65 67 69 6e | 0d 09 20 20 20 20 20 20 | begin|.. |
|000047e0| 20 74 20 3a 3d 20 70 6f | 73 28 27 3a 27 2c 74 65 | t := po|s(':',te|
|000047f0| 6d 70 73 74 72 29 3b 0d | 09 20 20 20 20 20 20 20 |mpstr);.|. |
|00004800| 69 66 20 74 20 3e 20 30 | 20 74 68 65 6e 0d 09 20 |if t > 0| then.. |
|00004810| 20 20 20 20 20 20 62 65 | 67 69 6e 0d 09 20 20 20 | be|gin.. |
|00004820| 20 20 20 20 20 20 20 53 | 74 72 69 6e 67 54 6f 4e | S|tringToN|
|00004830| 75 6d 28 63 6f 70 79 28 | 74 65 6d 70 73 74 72 2c |um(copy(|tempstr,|
|00004840| 31 2c 74 20 2d 20 31 29 | 2c 74 65 6d 70 6c 6f 6e |1,t - 1)|,templon|
|00004850| 67 29 3b 0d 09 20 20 20 | 20 20 20 20 20 20 20 64 |g);.. | d|
|00004860| 65 6c 65 74 65 28 74 65 | 6d 70 73 74 72 2c 31 2c |elete(te|mpstr,1,|
|00004870| 74 29 3b 0d 09 20 20 20 | 20 20 20 20 20 20 20 73 |t);.. | s|
|00004880| 74 61 72 74 20 3a 3d 20 | 74 65 6d 70 6c 6f 6e 67 |tart := |templong|
|00004890| 3b 0d 09 20 20 20 20 20 | 20 20 65 6e 64 3b 0d 09 |;.. | end;..|
|000048a0| 20 20 20 20 20 20 20 53 | 74 72 69 6e 67 54 6f 4e | S|tringToN|
|000048b0| 75 6d 28 74 65 6d 70 73 | 74 72 2c 74 65 6d 70 6c |um(temps|tr,templ|
|000048c0| 6f 6e 67 29 3b 0d 09 20 | 20 20 20 20 20 20 73 74 |ong);.. | st|
|000048d0| 61 72 74 20 3a 3d 20 73 | 74 61 72 74 20 2a 20 36 |art := s|tart * 6|
|000048e0| 30 20 2b 20 74 65 6d 70 | 6c 6f 6e 67 3b 0d 09 20 |0 + temp|long;.. |
|000048f0| 20 20 20 20 20 20 73 74 | 6f 70 20 3a 3d 20 32 33 | st|op := 23|
|00004900| 20 2a 20 36 30 20 2b 20 | 35 39 3b 20 7b 20 6d 69 | * 60 + |59; { mi|
|00004910| 64 6e 69 67 68 74 20 2d | 20 61 74 20 70 72 65 73 |dnight -| at pres|
|00004920| 65 6e 74 20 7d 0d 09 20 | 20 20 20 65 6e 64 3b 0d |ent }.. | end;.|
|00004930| 20 20 20 20 20 20 20 20 | 20 65 6e 64 3b 0d 20 20 | | end;. |
|00004940| 20 20 20 20 65 6e 64 3b | 20 7b 20 67 65 74 74 69 | end;| { getti|
|00004950| 6d 65 73 20 7d 0d 0d 20 | 20 20 62 65 67 69 6e 20 |mes }.. | begin |
|00004960| 7b 20 69 6e 69 74 63 6f | 6d 6d 6f 6e 20 7d 0d 20 |{ initco|mmon }. |
|00004970| 20 20 20 20 20 62 73 63 | 68 72 20 3a 3d 20 27 20 | bsc|hr := ' |
|00004980| 27 3b 20 63 72 63 68 72 | 20 3a 3d 20 27 20 27 3b |'; crchr| := ' ';|
|00004990| 20 6c 66 63 68 72 20 3a | 3d 20 27 20 27 3b 20 6e | lfchr :|= ' '; n|
|000049a0| 75 6c 63 68 72 20 3a 3d | 20 27 20 27 3b 20 66 66 |ulchr :=| ' '; ff|
|000049b0| 63 68 72 20 3a 3d 20 27 | 20 27 3b 0d 20 20 20 20 |chr := '| ';. |
|000049c0| 20 20 62 65 6c 6c 63 68 | 72 20 3a 3d 20 27 20 27 | bellch|r := ' '|
|000049d0| 3b 20 73 6f 68 63 68 72 | 20 3a 3d 20 27 20 27 3b |; sohchr| := ' ';|
|000049e0| 0d 0d 20 20 20 20 20 20 | 62 73 63 68 72 5b 31 5d |.. |bschr[1]|
|000049f0| 20 3a 3d 20 63 68 72 28 | 38 29 3b 0d 20 20 20 20 | := chr(|8);. |
|00004a00| 20 20 63 72 63 68 72 5b | 31 5d 20 3a 3d 20 63 68 | crchr[|1] := ch|
|00004a10| 72 28 31 33 29 3b 0d 20 | 20 20 20 20 20 6c 66 63 |r(13);. | lfc|
|00004a20| 68 72 5b 31 5d 20 3a 3d | 20 63 68 72 28 31 30 29 |hr[1] :=| chr(10)|
|00004a30| 3b 0d 20 20 20 20 20 20 | 6e 75 6c 63 68 72 5b 31 |;. |nulchr[1|
|00004a40| 5d 20 3a 3d 20 63 68 72 | 28 30 29 3b 0d 20 20 20 |] := chr|(0);. |
|00004a50| 20 20 20 66 66 63 68 72 | 5b 31 5d 20 3a 3d 20 63 | ffchr|[1] := c|
|00004a60| 68 72 28 31 32 29 3b 0d | 20 20 20 20 20 20 62 65 |hr(12);.| be|
|00004a70| 6c 6c 63 68 72 5b 31 5d | 20 3a 3d 20 63 68 72 28 |llchr[1]| := chr(|
|00004a80| 37 29 3b 0d 20 20 20 20 | 20 20 73 6f 68 63 68 72 |7);. | sohchr|
|00004a90| 5b 31 5d 20 3a 3d 20 63 | 68 72 28 31 29 3b 0d 0d |[1] := c|hr(1);..|
|00004aa0| 20 20 20 20 20 20 63 6f | 6d 70 74 79 70 5b 31 5d | co|mptyp[1]|
|00004ab0| 20 3a 3d 20 27 31 32 38 | 27 3b 0d 20 20 20 20 20 | := '128|';. |
|00004ac0| 20 63 6f 6d 70 74 79 70 | 5b 32 5d 20 3a 3d 20 27 | comptyp|[2] := '|
|00004ad0| 35 31 32 27 3b 0d 20 20 | 20 20 20 20 63 6f 6d 70 |512';. | comp|
|00004ae0| 74 79 70 5b 33 5d 20 3a | 3d 20 27 35 31 32 65 27 |typ[3] :|= '512e'|
|00004af0| 3b 0d 20 20 20 20 20 20 | 63 6f 6d 70 74 79 70 5b |;. |comptyp[|
|00004b00| 34 5d 20 3a 3d 20 27 4d | 61 63 2b 27 3b 0d 20 20 |4] := 'M|ac+';. |
|00004b10| 20 20 20 20 63 6f 6d 70 | 74 79 70 5b 35 5d 20 3a | comp|typ[5] :|
|00004b20| 3d 20 27 50 72 6f 64 69 | 67 79 27 3b 0d 20 20 20 |= 'Prodi|gy';. |
|00004b30| 20 20 20 63 6f 6d 70 74 | 79 70 5b 36 5d 20 3a 3d | compt|yp[6] :=|
|00004b40| 20 27 4d 61 63 2f 36 38 | 30 32 30 27 3b 0d 20 20 | 'Mac/68|020';. |
|00004b50| 20 20 20 20 63 6f 6d 70 | 74 79 70 5b 37 5d 20 3a | comp|typ[7] :|
|00004b60| 3d 20 27 4d 61 63 2f 4d | 6f 72 65 20 52 41 4d 27 |= 'Mac/M|ore RAM'|
|00004b70| 3b 0d 20 20 20 20 20 20 | 63 6f 6d 70 74 79 70 5b |;. |comptyp[|
|00004b80| 38 5d 20 3a 3d 20 27 4d | 61 63 2f 4c 72 67 20 53 |8] := 'M|ac/Lrg S|
|00004b90| 63 72 6e 27 3b 0d 20 20 | 20 20 20 20 63 6f 6d 70 |crn';. | comp|
|00004ba0| 74 79 70 5b 39 5d 20 3a | 3d 20 27 4d 61 63 20 53 |typ[9] :|= 'Mac S|
|00004bb0| 45 27 3b 0d 20 20 20 20 | 20 20 63 6f 6d 70 74 79 |E';. | compty|
|00004bc0| 70 5b 31 30 5d 20 3a 3d | 20 27 4d 61 63 20 49 49 |p[10] :=| 'Mac II|
|00004bd0| 27 3b 0d 20 20 20 20 20 | 20 63 6f 6d 70 74 79 70 |';. | comptyp|
|00004be0| 5b 31 31 5d 20 3a 3d 20 | 27 4f 54 48 45 52 27 3b |[11] := |'OTHER';|
|00004bf0| 0d 0d 20 20 20 20 20 20 | 74 65 6d 70 48 61 6e 64 |.. |tempHand|
|00004c00| 6c 65 20 3a 3d 20 47 65 | 74 52 65 73 6f 75 72 63 |le := Ge|tResourc|
|00004c10| 65 28 27 53 54 52 23 27 | 2c 53 74 72 49 44 29 3b |e('STR#'|,StrID);|
|00004c20| 0d 20 20 20 20 20 20 69 | 66 20 28 52 65 73 45 72 |. i|f (ResEr|
|00004c30| 72 6f 72 20 3c 3e 20 6e | 6f 45 72 72 29 20 6f 72 |ror <> n|oErr) or|
|00004c40| 20 28 74 65 6d 70 48 61 | 6e 64 6c 65 20 3d 20 6e | (tempHa|ndle = n|
|00004c50| 69 6c 29 20 74 68 65 6e | 0d 20 20 20 20 20 20 62 |il) then|. b|
|00004c60| 65 67 69 6e 0d 20 20 20 | 20 20 20 20 20 20 77 72 |egin. | wr|
|00004c70| 69 74 65 6c 6e 3b 0d 20 | 20 20 20 20 20 20 20 20 |iteln;. | |
|00004c80| 77 72 69 74 65 6c 6e 28 | 27 53 6f 72 72 79 2e 2e |writeln(|'Sorry..|
|00004c90| 2e 20 63 6f 75 6c 64 6e | 27 27 74 20 66 69 6e 64 |. couldn|''t find|
|00004ca0| 20 74 68 65 20 52 65 73 | 6f 75 72 63 65 20 53 54 | the Res|ource ST|
|00004cb0| 52 23 20 49 44 20 3d 20 | 27 2c 53 74 72 49 44 29 |R# ID = |',StrID)|
|00004cc0| 3b 0d 20 20 20 20 20 20 | 20 20 20 77 72 69 74 65 |;. | write|
|00004cd0| 6c 6e 3b 0d 20 20 20 20 | 20 20 20 20 20 77 72 69 |ln;. | wri|
|00004ce0| 74 65 6c 6e 28 27 50 72 | 65 73 73 20 6d 6f 75 73 |teln('Pr|ess mous|
|00004cf0| 65 20 62 75 74 74 6f 6e | 20 74 6f 20 65 78 69 74 |e button| to exit|
|00004d00| 27 29 3b 0d 20 20 20 20 | 20 20 20 20 20 72 65 70 |');. | rep|
|00004d10| 65 61 74 20 75 6e 74 69 | 6c 20 62 75 74 74 6f 6e |eat unti|l button|
|00004d20| 3b 0d 20 20 20 20 20 20 | 20 20 20 65 78 69 74 28 |;. | exit(|
|00004d30| 61 75 74 6f 5f 65 78 65 | 63 75 74 65 29 3b 0d 20 |auto_exe|cute);. |
|00004d40| 20 20 20 20 20 65 6e 64 | 3b 0d 0d 20 20 20 20 20 | end|;.. |
|00004d50| 20 66 6f 72 20 74 65 6d | 70 69 6e 74 20 3a 3d 20 | for tem|pint := |
|00004d60| 31 20 74 6f 20 4e 75 6d | 53 74 72 49 74 65 6d 73 |1 to Num|StrItems|
|00004d70| 20 64 6f 0d 20 20 20 20 | 20 20 62 65 67 69 6e 20 | do. | begin |
|00004d80| 7b 20 67 65 74 20 75 73 | 65 72 20 64 65 66 69 6e |{ get us|er defin|
|00004d90| 61 62 6c 65 20 70 61 72 | 61 6d 65 74 65 72 73 20 |able par|ameters |
|00004da0| 66 72 6f 6d 20 52 65 73 | 6f 75 72 63 65 20 66 69 |from Res|ource fi|
|00004db0| 6c 65 20 7d 0d 20 20 20 | 20 20 20 20 20 20 47 65 |le }. | Ge|
|00004dc0| 74 49 6e 64 53 74 72 69 | 6e 67 28 74 65 6d 70 73 |tIndStri|ng(temps|
|00004dd0| 74 72 2c 53 74 72 49 44 | 2c 74 65 6d 70 69 6e 74 |tr,StrID|,tempint|
|00004de0| 29 3b 0d 20 20 20 20 20 | 20 20 20 20 63 61 73 65 |);. | case|
|00004df0| 20 74 65 6d 70 69 6e 74 | 20 6f 66 0d 20 20 20 20 | tempint| of. |
|00004e00| 20 20 20 20 20 31 20 3a | 20 62 65 67 69 6e 20 53 | 1 :| begin S|
|00004e10| 74 72 69 6e 67 54 6f 4e | 75 6d 28 74 65 6d 70 73 |tringToN|um(temps|
|00004e20| 74 72 2c 74 65 6d 70 6c | 6f 6e 67 29 3b 20 63 6f |tr,templ|ong); co|
|00004e30| 6d 6e 75 6d 20 3a 3d 20 | 74 65 6d 70 6c 6f 6e 67 |mnum := |templong|
|00004e40| 3b 20 65 6e 64 3b 0d 20 | 20 20 20 20 20 20 20 20 |; end;. | |
|00004e50| 32 20 3a 20 62 65 67 69 | 6e 0d 20 20 20 20 20 20 |2 : begi|n. |
|00004e60| 20 20 20 20 20 20 20 20 | 20 20 74 70 6f 73 20 3a | | tpos :|
|00004e70| 3d 20 70 6f 73 28 27 2c | 27 2c 74 65 6d 70 73 74 |= pos(',|',tempst|
|00004e80| 72 29 3b 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |r);. | |
|00004e90| 20 20 20 20 69 66 20 74 | 70 6f 73 20 3e 20 30 20 | if t|pos > 0 |
|00004ea0| 74 68 65 6e 0d 20 20 20 | 20 20 20 20 20 20 20 20 |then. | |
|00004eb0| 20 20 20 20 20 62 65 67 | 69 6e 0d 20 20 20 20 20 | beg|in. |
|00004ec0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 53 74 | | St|
|00004ed0| 72 69 6e 67 54 6f 4e 75 | 6d 28 63 6f 70 79 28 74 |ringToNu|m(copy(t|
|00004ee0| 65 6d 70 73 74 72 2c 31 | 2c 74 70 6f 73 20 2d 20 |empstr,1|,tpos - |
|00004ef0| 31 29 2c 74 65 6d 70 6c | 6f 6e 67 29 3b 0d 20 20 |1),templ|ong);. |
|00004f00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004f10| 20 6d 61 78 62 61 75 64 | 20 3a 3d 20 74 65 6d 70 | maxbaud| := temp|
|00004f20| 6c 6f 6e 67 3b 0d 20 20 | 20 20 20 20 20 20 20 20 |long;. | |
|00004f30| 20 20 20 20 20 20 20 20 | 20 64 65 6c 65 74 65 28 | | delete(|
|00004f40| 74 65 6d 70 73 74 72 2c | 31 2c 74 70 6f 73 29 3b |tempstr,|1,tpos);|
|00004f50| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00004f60| 20 20 20 20 53 74 72 69 | 6e 67 54 6f 4e 75 6d 28 | Stri|ngToNum(|
|00004f70| 74 65 6d 70 73 74 72 2c | 74 65 6d 70 6c 6f 6e 67 |tempstr,|templong|
|00004f80| 29 3b 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |);. | |
|00004f90| 20 20 20 20 20 20 6d 69 | 6e 62 61 75 64 20 3a 3d | mi|nbaud :=|
|00004fa0| 20 74 65 6d 70 6c 6f 6e | 67 3b 0d 20 20 20 20 20 | templon|g;. |
|00004fb0| 20 20 20 20 20 20 20 20 | 20 20 20 65 6e 64 20 65 | | end e|
|00004fc0| 6c 73 65 0d 0d 20 20 20 | 20 20 20 20 20 20 20 20 |lse.. | |
|00004fd0| 20 20 20 20 20 62 65 67 | 69 6e 0d 20 20 20 20 20 | beg|in. |
|00004fe0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 53 74 | | St|
|00004ff0| 72 69 6e 67 54 6f 4e 75 | 6d 28 74 65 6d 70 73 74 |ringToNu|m(tempst|
|00005000| 72 2c 74 65 6d 70 6c 6f | 6e 67 29 3b 0d 20 20 20 |r,templo|ng);. |
|00005010| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005020| 6d 61 78 62 61 75 64 20 | 3a 3d 20 74 65 6d 70 6c |maxbaud |:= templ|
|00005030| 6f 6e 67 3b 0d 20 20 20 | 20 20 20 20 20 20 20 20 |ong;. | |
|00005040| 20 20 20 20 20 20 20 20 | 6d 69 6e 62 61 75 64 20 | |minbaud |
|00005050| 3a 3d 20 30 3b 0d 20 20 | 20 20 20 20 20 20 20 20 |:= 0;. | |
|00005060| 20 20 20 20 20 20 65 6e | 64 3b 0d 20 20 20 20 20 | en|d;. |
|00005070| 20 20 20 20 20 20 20 20 | 65 6e 64 3b 0d 20 20 20 | |end;. |
|00005080| 20 20 20 20 20 20 33 20 | 3a 20 62 65 67 69 6e 20 | 3 |: begin |
|00005090| 67 66 69 6c 65 73 70 61 | 74 68 20 3a 3d 20 74 65 |gfilespa|th := te|
|000050a0| 6d 70 73 74 72 3b 20 65 | 6e 64 3b 0d 20 20 20 20 |mpstr; e|nd;. |
|000050b0| 20 20 20 20 20 34 20 3a | 20 62 65 67 69 6e 20 70 | 4 :| begin p|
|000050c0| 61 74 68 64 6c 6f 61 64 | 73 20 3a 3d 20 74 65 6d |athdload|s := tem|
|000050d0| 70 73 74 72 3b 20 65 6e | 64 3b 0d 20 20 20 20 20 |pstr; en|d;. |
|000050e0| 20 20 20 20 35 20 3a 20 | 62 65 67 69 6e 20 70 61 | 5 : |begin pa|
|000050f0| 74 68 6d 73 67 73 20 3a | 3d 20 74 65 6d 70 73 74 |thmsgs :|= tempst|
|00005100| 72 3b 20 65 6e 64 3b 0d | 20 20 20 20 20 20 20 20 |r; end;.| |
|00005110| 20 36 20 3a 20 3b 20 7b | 20 77 61 73 20 6d 6f 64 | 6 : ; {| was mod|
|00005120| 65 6d 69 6e 69 74 20 7d | 0d 20 20 20 20 20 20 20 |eminit }|. |
|00005130| 20 20 37 20 3a 20 62 65 | 67 69 6e 0d 20 20 20 20 | 7 : be|gin. |
|00005140| 20 20 20 20 20 20 20 20 | 20 20 20 20 74 20 3a 3d | | t :=|
|00005150| 20 31 3b 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 | 1;. | |
|00005160| 20 20 20 20 7b 20 70 75 | 74 20 64 65 66 61 75 6c | { pu|t defaul|
|00005170| 74 73 20 68 65 72 65 20 | 7d 0d 20 20 20 20 20 20 |ts here |}. |
|00005180| 20 20 20 20 20 20 20 20 | 20 20 64 65 62 75 67 67 | | debugg|
|00005190| 69 6e 67 20 3a 3d 20 66 | 61 6c 73 65 3b 0d 20 20 |ing := f|alse;. |
|000051a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 75 73 | | us|
|000051b0| 69 6e 67 72 61 74 69 6f | 20 3a 3d 20 66 61 6c 73 |ingratio| := fals|
|000051c0| 65 3b 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |e;. | |
|000051d0| 20 20 20 4d 53 44 4f 53 | 4e 61 6d 65 73 20 3a 3d | MSDOS|Names :=|
|000051e0| 20 74 72 75 65 3b 0d 20 | 20 20 20 20 20 20 20 20 | true;. | |
|000051f0| 20 20 20 20 20 20 20 74 | 69 6d 65 6c 69 6d 69 74 | t|imelimit|
|00005200| 20 3a 3d 20 66 61 6c 73 | 65 3b 0d 20 20 20 20 20 | := fals|e;. |
|00005210| 20 20 20 20 20 20 20 20 | 20 20 20 61 6c 6c 6f 77 | | allow|
|00005220| 73 75 62 6c 61 75 6e 63 | 68 20 3a 3d 20 66 61 6c |sublaunc|h := fal|
|00005230| 73 65 3b 0d 0d 20 20 20 | 20 20 20 20 20 20 20 20 |se;.. | |
|00005240| 20 20 20 20 20 77 68 69 | 6c 65 20 6c 65 6e 67 74 | whi|le lengt|
|00005250| 68 28 74 65 6d 70 73 74 | 72 29 20 3e 20 30 20 64 |h(tempst|r) > 0 d|
|00005260| 6f 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |o. | |
|00005270| 20 20 62 65 67 69 6e 0d | 20 20 20 20 20 20 20 20 | begin.| |
|00005280| 20 20 20 20 20 20 20 20 | 20 20 20 74 70 6f 73 20 | | tpos |
|00005290| 3a 3d 20 70 6f 73 28 27 | 2c 27 2c 74 65 6d 70 73 |:= pos('|,',temps|
|000052a0| 74 72 29 3b 0d 20 20 20 | 20 20 20 20 20 20 20 20 |tr);. | |
|000052b0| 20 20 20 20 20 20 20 20 | 74 62 6f 6f 6c 20 3a 3d | |tbool :=|
|000052c0| 20 28 74 65 6d 70 73 74 | 72 5b 31 5d 20 3d 20 27 | (tempst|r[1] = '|
|000052d0| 79 27 29 20 6f 72 20 28 | 74 65 6d 70 73 74 72 5b |y') or (|tempstr[|
|000052e0| 31 5d 20 3d 20 27 59 27 | 29 3b 0d 20 20 20 20 20 |1] = 'Y'|);. |
|000052f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 63 61 | | ca|
|00005300| 73 65 20 74 20 6f 66 0d | 20 20 20 20 20 20 20 20 |se t of.| |
|00005310| 20 20 20 20 20 20 20 20 | 20 20 20 31 20 3a 20 64 | | 1 : d|
|00005320| 65 62 75 67 67 69 6e 67 | 20 3a 3d 20 74 62 6f 6f |ebugging| := tboo|
|00005330| 6c 3b 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |l;. | |
|00005340| 20 20 20 20 20 20 32 20 | 3a 20 75 73 69 6e 67 72 | 2 |: usingr|
|00005350| 61 74 69 6f 20 3a 3d 20 | 74 62 6f 6f 6c 3b 0d 20 |atio := |tbool;. |
|00005360| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005370| 20 20 33 20 3a 20 4d 53 | 44 4f 53 4e 61 6d 65 73 | 3 : MS|DOSNames|
|00005380| 20 3a 3d 20 6e 6f 74 20 | 74 62 6f 6f 6c 3b 0d 20 | := not |tbool;. |
|00005390| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000053a0| 20 20 34 20 3a 20 74 69 | 6d 65 6c 69 6d 69 74 20 | 4 : ti|melimit |
|000053b0| 3a 3d 20 74 62 6f 6f 6c | 3b 0d 20 20 20 20 20 20 |:= tbool|;. |
|000053c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 35 20 3a | | 5 :|
|000053d0| 20 61 6c 6c 6f 77 73 75 | 62 6c 61 75 6e 63 68 20 | allowsu|blaunch |
|000053e0| 3a 3d 20 74 62 6f 6f 6c | 3b 0d 20 20 20 20 20 20 |:= tbool|;. |
|000053f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 65 6e 64 | | end|
|00005400| 3b 20 7b 20 63 61 73 65 | 73 20 7d 0d 20 20 20 20 |; { case|s }. |
|00005410| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 69 | | i|
|00005420| 66 20 74 70 6f 73 20 3e | 20 30 20 74 68 65 6e 0d |f tpos >| 0 then.|
|00005430| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005440| 20 20 20 62 65 67 69 6e | 0d 20 20 20 20 20 20 20 | begin|. |
|00005450| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 64 | | d|
|00005460| 65 6c 65 74 65 28 74 65 | 6d 70 73 74 72 2c 31 2c |elete(te|mpstr,1,|
|00005470| 74 70 6f 73 29 3b 0d 20 | 20 20 20 20 20 20 20 20 |tpos);. | |
|00005480| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 74 20 3a | | t :|
|00005490| 3d 20 74 20 2b 20 31 3b | 0d 20 20 20 20 20 20 20 |= t + 1;|. |
|000054a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 65 6e 64 20 | | end |
|000054b0| 65 6c 73 65 20 74 65 6d | 70 73 74 72 20 3a 3d 20 |else tem|pstr := |
|000054c0| 27 27 3b 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |'';. | |
|000054d0| 20 20 20 20 65 6e 64 3b | 0d 20 20 20 20 20 20 20 | end;|. |
|000054e0| 20 20 20 20 20 20 65 6e | 64 3b 0d 20 20 20 20 20 | en|d;. |
|000054f0| 20 20 20 20 38 20 3a 20 | 62 65 67 69 6e 0d 20 20 | 8 : |begin. |
|00005500| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 69 66 | | if|
|00005510| 20 74 65 6d 70 73 74 72 | 20 3d 20 27 27 20 74 68 | tempstr| = '' th|
|00005520| 65 6e 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |en. | |
|00005530| 20 20 20 62 65 67 69 6e | 0d 20 20 20 20 20 20 20 | begin|. |
|00005540| 20 20 20 20 20 20 20 20 | 20 20 20 20 77 69 6e 64 | | wind|
|00005550| 63 68 61 72 73 20 3a 3d | 20 38 30 3b 0d 20 20 20 |chars :=| 80;. |
|00005560| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005570| 77 69 6e 64 6c 69 6e 65 | 73 20 3a 3d 20 32 35 3b |windline|s := 25;|
|00005580| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00005590| 20 65 6e 64 20 65 6c 73 | 65 0d 0d 20 20 20 20 20 | end els|e.. |
|000055a0| 20 20 20 20 20 20 20 20 | 20 20 20 62 65 67 69 6e | | begin|
|000055b0| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000055c0| 20 20 20 20 74 70 6f 73 | 20 3a 3d 20 70 6f 73 28 | tpos| := pos(|
|000055d0| 27 2c 27 2c 74 65 6d 70 | 73 74 72 29 3b 0d 20 20 |',',temp|str);. |
|000055e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000055f0| 20 69 66 20 74 70 6f 73 | 20 3e 20 30 20 74 68 65 | if tpos| > 0 the|
|00005600| 6e 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |n. | |
|00005610| 20 20 20 20 20 62 65 67 | 69 6e 0d 20 20 20 20 20 | beg|in. |
|00005620| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005630| 20 53 74 72 69 6e 67 54 | 6f 4e 75 6d 28 63 6f 70 | StringT|oNum(cop|
|00005640| 79 28 74 65 6d 70 73 74 | 72 2c 31 2c 74 70 6f 73 |y(tempst|r,1,tpos|
|00005650| 20 2d 20 31 29 2c 74 65 | 6d 70 6c 6f 6e 67 29 3b | - 1),te|mplong);|
|00005660| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00005670| 20 20 20 20 20 20 20 77 | 69 6e 64 63 68 61 72 73 | w|indchars|
|00005680| 20 3a 3d 20 74 65 6d 70 | 6c 6f 6e 67 3b 0d 20 20 | := temp|long;. |
|00005690| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000056a0| 20 20 20 20 64 65 6c 65 | 74 65 28 74 65 6d 70 73 | dele|te(temps|
|000056b0| 74 72 2c 31 2c 74 70 6f | 73 29 3b 0d 20 20 20 20 |tr,1,tpo|s);. |
|000056c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000056d0| 20 20 53 74 72 69 6e 67 | 54 6f 4e 75 6d 28 74 65 | String|ToNum(te|
|000056e0| 6d 70 73 74 72 2c 74 65 | 6d 70 6c 6f 6e 67 29 3b |mpstr,te|mplong);|
|000056f0| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00005700| 20 20 20 20 20 20 20 77 | 69 6e 64 6c 69 6e 65 73 | w|indlines|
|00005710| 20 3a 3d 20 74 65 6d 70 | 6c 6f 6e 67 3b 0d 20 20 | := temp|long;. |
|00005720| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005730| 20 65 6e 64 3b 0d 20 20 | 20 20 20 20 20 20 20 20 | end;. | |
|00005740| 20 20 20 20 20 20 65 6e | 64 3b 0d 20 20 20 20 20 | en|d;. |
|00005750| 20 20 20 20 20 20 20 20 | 65 6e 64 3b 0d 20 20 20 | |end;. |
|00005760| 20 20 20 20 20 20 39 20 | 3a 20 62 65 67 69 6e 0d | 9 |: begin.|
|00005770| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005780| 7b 69 66 20 74 65 6d 70 | 73 74 72 20 3d 20 27 27 |{if temp|str = ''|
|00005790| 20 74 68 65 6e 7d 0d 20 | 20 20 20 20 20 20 20 20 | then}. | |
|000057a0| 20 20 20 20 20 20 20 62 | 65 67 69 6e 20 7b 20 64 | b|egin { d|
|000057b0| 65 66 61 75 6c 74 73 20 | 7d 0d 20 20 20 20 20 20 |efaults |}. |
|000057c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 6d 61 78 | | max|
|000057d0| 75 73 65 72 73 20 3a 3d | 20 35 30 30 3b 0d 20 20 |users :=| 500;. |
|000057e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000057f0| 20 73 65 72 62 75 66 5f | 53 69 7a 65 20 3a 3d 20 | serbuf_|Size := |
|00005800| 35 31 32 30 3b 0d 20 20 | 20 20 20 20 20 20 20 20 |5120;. | |
|00005810| 20 20 20 20 20 20 20 20 | 20 68 65 6c 70 5f 73 69 | | help_si|
|00005820| 7a 65 20 3a 3d 20 32 35 | 30 30 30 3b 0d 20 20 20 |ze := 25|000;. |
|00005830| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005840| 79 6d 62 6d 61 78 20 3a | 3d 20 32 30 3b 0d 20 20 |ymbmax :|= 20;. |
|00005850| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005860| 20 6e 61 6d 65 73 69 7a | 65 20 3a 3d 20 31 32 3b | namesiz|e := 12;|
|00005870| 20 7b 20 6d 61 78 2e 20 | 73 69 7a 65 20 6f 66 20 | { max. |size of |
|00005880| 4d 53 2d 44 4f 53 20 66 | 69 6c 65 6e 61 6d 65 73 |MS-DOS f|ilenames|
|00005890| 20 7d 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | }. | |
|000058a0| 20 20 20 20 20 20 78 66 | 65 72 53 69 7a 65 20 3a | xf|erSize :|
|000058b0| 3d 20 31 30 32 34 3b 0d | 20 20 20 20 20 20 20 20 |= 1024;.| |
|000058c0| 20 20 20 20 20 20 20 20 | 65 6e 64 3b 20 7b 20 65 | |end; { e|
|000058d0| 6c 73 65 20 7d 0d 0d 20 | 20 20 20 20 20 20 20 20 |lse }.. | |
|000058e0| 20 20 20 20 20 20 20 74 | 20 3a 3d 20 31 3b 0d 20 | t| := 1;. |
|000058f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 77 | | w|
|00005900| 68 69 6c 65 20 6c 65 6e | 67 74 68 28 74 65 6d 70 |hile len|gth(temp|
|00005910| 73 74 72 29 20 3e 20 30 | 20 64 6f 0d 20 20 20 20 |str) > 0| do. |
|00005920| 20 20 20 20 20 20 20 20 | 20 20 20 20 62 65 67 69 | | begi|
|00005930| 6e 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |n. | |
|00005940| 20 20 20 20 20 74 70 6f | 73 20 3a 3d 20 70 6f 73 | tpo|s := pos|
|00005950| 28 27 2c 27 2c 74 65 6d | 70 73 74 72 29 3b 0d 20 |(',',tem|pstr);. |
|00005960| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005970| 20 20 69 66 20 28 74 70 | 6f 73 20 3d 20 30 29 20 | if (tp|os = 0) |
|00005980| 61 6e 64 20 28 6c 65 6e | 67 74 68 28 74 65 6d 70 |and (len|gth(temp|
|00005990| 73 74 72 29 20 3e 20 30 | 29 20 74 68 65 6e 0d 20 |str) > 0|) then. |
|000059a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000059b0| 20 20 20 20 20 74 70 6f | 73 20 3a 3d 20 6c 65 6e | tpo|s := len|
|000059c0| 67 74 68 28 74 65 6d 70 | 73 74 72 29 20 2b 20 31 |gth(temp|str) + 1|
|000059d0| 3b 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |;. | |
|000059e0| 20 20 20 20 20 53 74 72 | 69 6e 67 54 6f 4e 75 6d | Str|ingToNum|
|000059f0| 28 63 6f 70 79 28 74 65 | 6d 70 73 74 72 2c 31 2c |(copy(te|mpstr,1,|
|00005a00| 74 70 6f 73 20 2d 20 31 | 29 2c 74 65 6d 70 6c 6f |tpos - 1|),templo|
|00005a10| 6e 67 29 3b 0d 20 20 20 | 20 20 20 20 20 20 20 20 |ng);. | |
|00005a20| 20 20 20 20 20 20 20 20 | 63 61 73 65 20 74 20 6f | |case t o|
|00005a30| 66 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |f. | |
|00005a40| 20 20 20 20 20 31 20 3a | 20 6d 61 78 75 73 65 72 | 1 :| maxuser|
|00005a50| 73 20 3a 3d 20 74 65 6d | 70 6c 6f 6e 67 3b 0d 20 |s := tem|plong;. |
|00005a60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005a70| 20 20 32 20 3a 20 73 65 | 72 62 75 66 5f 53 69 7a | 2 : se|rbuf_Siz|
|00005a80| 65 20 3a 3d 20 74 65 6d | 70 6c 6f 6e 67 3b 0d 20 |e := tem|plong;. |
|00005a90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005aa0| 20 20 33 20 3a 20 68 65 | 6c 70 5f 73 69 7a 65 20 | 3 : he|lp_size |
|00005ab0| 3a 3d 20 74 65 6d 70 6c | 6f 6e 67 3b 0d 20 20 20 |:= templ|ong;. |
|00005ac0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005ad0| 34 20 3a 20 79 6d 62 6d | 61 78 20 3a 3d 20 74 65 |4 : ymbm|ax := te|
|00005ae0| 6d 70 6c 6f 6e 67 3b 0d | 20 20 20 20 20 20 20 20 |mplong;.| |
|00005af0| 20 20 20 20 20 20 20 20 | 20 20 20 35 20 3a 20 69 | | 5 : i|
|00005b00| 66 20 6e 6f 74 20 4d 53 | 44 4f 53 4e 61 6d 65 73 |f not MS|DOSNames|
|00005b10| 20 74 68 65 6e 20 6e 61 | 6d 65 73 69 7a 65 20 3a | then na|mesize :|
|00005b20| 3d 20 74 65 6d 70 6c 6f | 6e 67 3b 0d 20 20 20 20 |= templo|ng;. |
|00005b30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 36 | | 6|
|00005b40| 20 3a 20 78 66 65 72 53 | 69 7a 65 20 3a 3d 20 74 | : xferS|ize := t|
|00005b50| 65 6d 70 6c 6f 6e 67 3b | 0d 20 20 20 20 20 20 20 |emplong;|. |
|00005b60| 20 20 20 20 20 20 20 20 | 20 20 20 20 65 6e 64 3b | | end;|
|00005b70| 20 7b 20 63 61 73 65 73 | 20 7d 0d 20 20 20 20 20 | { cases| }. |
|00005b80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 69 66 | | if|
|00005b90| 20 74 70 6f 73 20 3c 20 | 6c 65 6e 67 74 68 28 74 | tpos < |length(t|
|00005ba0| 65 6d 70 73 74 72 29 20 | 74 68 65 6e 0d 20 20 20 |empstr) |then. |
|00005bb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005bc0| 20 20 20 64 65 6c 65 74 | 65 28 74 65 6d 70 73 74 | delet|e(tempst|
|00005bd0| 72 2c 31 2c 74 70 6f 73 | 29 20 65 6c 73 65 0d 20 |r,1,tpos|) else. |
|00005be0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005bf0| 20 20 20 20 20 74 65 6d | 70 73 74 72 20 3a 3d 20 | tem|pstr := |
|00005c00| 27 27 3b 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |'';. | |
|00005c10| 20 20 20 20 20 20 20 74 | 20 3a 3d 20 74 20 2b 20 | t| := t + |
|00005c20| 31 3b 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |1;. | |
|00005c30| 20 20 20 65 6e 64 3b 0d | 20 20 20 20 20 20 20 20 | end;.| |
|00005c40| 20 20 20 20 20 20 20 20 | 69 66 20 6e 61 6d 65 73 | |if names|
|00005c50| 69 7a 65 20 3e 20 32 37 | 20 74 68 65 6e 20 6e 61 |ize > 27| then na|
|00005c60| 6d 65 73 69 7a 65 20 3a | 3d 20 32 37 3b 0d 20 20 |mesize :|= 27;. |
|00005c70| 20 20 20 20 20 20 20 20 | 20 20 20 65 6e 64 3b 0d | | end;.|
|00005c80| 20 20 20 20 20 20 20 20 | 31 30 20 3a 20 62 65 67 | |10 : beg|
|00005c90| 69 6e 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |in. | |
|00005ca0| 20 20 20 62 65 67 69 6e | 20 7b 20 64 65 66 61 75 | begin| { defau|
|00005cb0| 6c 74 73 20 7d 0d 20 20 | 20 20 20 20 20 20 20 20 |lts }. | |
|00005cc0| 20 20 20 20 20 20 20 20 | 20 73 79 73 6f 70 6f 6e | | sysopon|
|00005cd0| 20 3a 3d 20 30 3b 0d 20 | 20 20 20 20 20 20 20 20 | := 0;. | |
|00005ce0| 20 20 20 20 20 20 20 20 | 20 20 73 79 73 6f 70 6f | | sysopo|
|00005cf0| 66 66 20 3a 3d 20 30 3b | 0d 20 20 20 20 20 20 20 |ff := 0;|. |
|00005d00| 20 20 20 20 20 20 20 20 | 20 65 6e 64 3b 20 7b 20 | | end; { |
|00005d10| 65 6c 73 65 20 7d 0d 0d | 20 20 20 20 20 20 20 20 |else }..| |
|00005d20| 20 20 20 20 20 20 20 20 | 67 65 74 74 69 6d 65 73 | |gettimes|
|00005d30| 28 73 79 73 6f 70 6f 6e | 2c 73 79 73 6f 70 6f 66 |(sysopon|,sysopof|
|00005d40| 66 29 3b 0d 0d 20 20 20 | 20 20 20 20 20 20 20 20 |f);.. | |
|00005d50| 20 20 65 6e 64 3b 0d 20 | 20 20 20 20 20 20 20 31 | end;. | 1|
|00005d60| 31 20 3a 20 62 65 67 69 | 6e 0d 20 20 20 20 20 20 |1 : begi|n. |
|00005d70| 20 20 20 20 20 20 20 20 | 20 20 74 20 3a 3d 20 31 | | t := 1|
|00005d80| 3b 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |;. | |
|00005d90| 20 20 7b 20 70 75 74 20 | 64 65 66 61 75 6c 74 73 | { put |defaults|
|00005da0| 20 68 65 72 65 20 7d 0d | 20 20 20 20 20 20 20 20 | here }.| |
|00005db0| 20 20 20 20 20 20 20 20 | 73 6c 72 61 74 69 6f 20 | |slratio |
|00005dc0| 3a 3d 20 36 30 3b 0d 20 | 20 20 20 20 20 20 20 20 |:= 60;. | |
|00005dd0| 20 20 20 20 20 20 20 68 | 69 72 61 74 69 6f 20 3a | h|iratio :|
|00005de0| 3d 20 32 30 3b 0d 20 20 | 20 20 20 20 20 20 20 20 |= 20;. | |
|00005df0| 20 20 20 20 20 20 6c 6f | 72 61 74 69 6f 20 3a 3d | lo|ratio :=|
|00005e00| 20 31 30 3b 0d 0d 20 20 | 20 20 20 20 20 20 20 20 | 10;.. | |
|00005e10| 20 20 20 20 20 20 77 68 | 69 6c 65 20 6c 65 6e 67 | wh|ile leng|
|00005e20| 74 68 28 74 65 6d 70 73 | 74 72 29 20 3e 20 30 20 |th(temps|tr) > 0 |
|00005e30| 64 6f 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |do. | |
|00005e40| 20 20 20 62 65 67 69 6e | 0d 20 20 20 20 20 20 20 | begin|. |
|00005e50| 20 20 20 20 20 20 20 20 | 20 20 20 20 74 70 6f 73 | | tpos|
|00005e60| 20 3a 3d 20 70 6f 73 28 | 27 2c 27 2c 74 65 6d 70 | := pos(|',',temp|
|00005e70| 73 74 72 29 3b 0d 20 20 | 20 20 20 20 20 20 20 20 |str);. | |
|00005e80| 20 20 20 20 20 20 20 20 | 20 69 66 20 28 74 70 6f | | if (tpo|
|00005e90| 73 20 3d 20 30 29 20 61 | 6e 64 20 28 6c 65 6e 67 |s = 0) a|nd (leng|
|00005ea0| 74 68 28 74 65 6d 70 73 | 74 72 29 20 3e 20 30 29 |th(temps|tr) > 0)|
|00005eb0| 20 74 68 65 6e 0d 20 20 | 20 20 20 20 20 20 20 20 | then. | |
|00005ec0| 20 20 20 20 20 20 20 20 | 20 20 20 20 74 70 6f 73 | | tpos|
|00005ed0| 20 3a 3d 20 6c 65 6e 67 | 74 68 28 74 65 6d 70 73 | := leng|th(temps|
|00005ee0| 74 72 29 20 2b 20 31 3b | 0d 20 20 20 20 20 20 20 |tr) + 1;|. |
|00005ef0| 20 20 20 20 20 20 20 20 | 20 20 20 20 53 74 72 69 | | Stri|
|00005f00| 6e 67 54 6f 4e 75 6d 28 | 63 6f 70 79 28 74 65 6d |ngToNum(|copy(tem|
|00005f10| 70 73 74 72 2c 31 2c 74 | 70 6f 73 20 2d 20 31 29 |pstr,1,t|pos - 1)|
|00005f20| 2c 74 65 6d 70 6c 6f 6e | 67 29 3b 0d 20 20 20 20 |,templon|g);. |
|00005f30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 63 | | c|
|00005f40| 61 73 65 20 74 20 6f 66 | 0d 20 20 20 20 20 20 20 |ase t of|. |
|00005f50| 20 20 20 20 20 20 20 20 | 20 20 20 20 31 20 3a 20 | | 1 : |
|00005f60| 73 6c 72 61 74 69 6f 20 | 3a 3d 20 74 65 6d 70 6c |slratio |:= templ|
|00005f70| 6f 6e 67 3b 0d 20 20 20 | 20 20 20 20 20 20 20 20 |ong;. | |
|00005f80| 20 20 20 20 20 20 20 20 | 32 20 3a 20 68 69 72 61 | |2 : hira|
|00005f90| 74 69 6f 20 3a 3d 20 74 | 65 6d 70 6c 6f 6e 67 3b |tio := t|emplong;|
|00005fa0| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00005fb0| 20 20 20 20 33 20 3a 20 | 6c 6f 72 61 74 69 6f 20 | 3 : |loratio |
|00005fc0| 3a 3d 20 74 65 6d 70 6c | 6f 6e 67 3b 0d 20 20 20 |:= templ|ong;. |
|00005fd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005fe0| 65 6e 64 3b 20 7b 20 63 | 61 73 65 73 20 7d 0d 20 |end; { c|ases }. |
|00005ff0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006000| 20 20 69 66 20 74 70 6f | 73 20 3c 20 6c 65 6e 67 | if tpo|s < leng|
|00006010| 74 68 28 74 65 6d 70 73 | 74 72 29 20 74 68 65 6e |th(temps|tr) then|
|00006020| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00006030| 20 20 20 20 20 20 20 64 | 65 6c 65 74 65 28 74 65 | d|elete(te|
|00006040| 6d 70 73 74 72 2c 31 2c | 74 70 6f 73 29 20 65 6c |mpstr,1,|tpos) el|
|00006050| 73 65 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |se. | |
|00006060| 20 20 20 20 20 20 20 20 | 20 74 65 6d 70 73 74 72 | | tempstr|
|00006070| 20 3a 3d 20 27 27 3b 0d | 20 20 20 20 20 20 20 20 | := '';.| |
|00006080| 20 20 20 20 20 20 20 20 | 20 20 20 74 20 3a 3d 20 | | t := |
|00006090| 74 20 2b 20 31 3b 0d 20 | 20 20 20 20 20 20 20 20 |t + 1;. | |
|000060a0| 20 20 20 20 20 20 20 65 | 6e 64 3b 0d 20 20 20 20 | e|nd;. |
|000060b0| 20 20 20 20 20 20 20 20 | 20 65 6e 64 3b 0d 20 20 | | end;. |
|000060c0| 20 20 20 20 20 20 31 32 | 20 3a 20 62 65 67 69 6e | 12| : begin|
|000060d0| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000060e0| 20 62 65 67 69 6e 20 7b | 20 64 65 66 61 75 6c 74 | begin {| default|
|000060f0| 73 20 7d 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |s }. | |
|00006100| 20 20 20 20 20 20 20 65 | 78 74 61 70 70 6f 6e 20 | e|xtappon |
|00006110| 3a 3d 20 30 3b 0d 20 20 | 20 20 20 20 20 20 20 20 |:= 0;. | |
|00006120| 20 20 20 20 20 20 20 20 | 20 65 78 74 61 70 70 6f | | extappo|
|00006130| 66 66 20 3a 3d 20 30 3b | 0d 20 20 20 20 20 20 20 |ff := 0;|. |
|00006140| 20 20 20 20 20 20 20 20 | 20 20 20 20 65 78 74 61 | | exta|
|00006150| 70 70 6e 61 6d 65 20 3a | 3d 20 27 27 3b 0d 20 20 |ppname :|= '';. |
|00006160| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006170| 20 65 78 74 61 70 70 61 | 72 6d 73 20 3a 3d 20 27 | extappa|rms := '|
|00006180| 27 3b 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |';. | |
|00006190| 20 20 20 65 6e 64 3b 20 | 7b 20 65 6c 73 65 20 7d | end; |{ else }|
|000061a0| 0d 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|000061b0| 20 20 67 65 74 74 69 6d | 65 73 28 65 78 74 61 70 | gettim|es(extap|
|000061c0| 70 6f 6e 2c 65 78 74 61 | 70 70 6f 66 66 29 3b 0d |pon,exta|ppoff);.|
|000061d0| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000061e0| 20 74 20 3a 3d 20 31 3b | 0d 20 20 20 20 20 20 20 | t := 1;|. |
|000061f0| 20 20 20 20 20 20 20 20 | 20 77 68 69 6c 65 20 6c | | while l|
|00006200| 65 6e 67 74 68 28 74 65 | 6d 70 73 74 72 29 20 3e |ength(te|mpstr) >|
|00006210| 20 30 20 64 6f 0d 20 20 | 20 20 20 20 20 20 20 20 | 0 do. | |
|00006220| 20 20 20 20 20 20 62 65 | 67 69 6e 0d 20 20 20 20 | be|gin. |
|00006230| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 74 | | t|
|00006240| 70 6f 73 20 3a 3d 20 70 | 6f 73 28 27 2c 27 2c 74 |pos := p|os(',',t|
|00006250| 65 6d 70 73 74 72 29 3b | 0d 20 20 20 20 20 20 20 |empstr);|. |
|00006260| 20 20 20 20 20 20 20 20 | 20 20 20 20 69 66 20 28 | | if (|
|00006270| 74 70 6f 73 20 3d 20 30 | 29 20 61 6e 64 20 28 6c |tpos = 0|) and (l|
|00006280| 65 6e 67 74 68 28 74 65 | 6d 70 73 74 72 29 20 3e |ength(te|mpstr) >|
|00006290| 20 30 29 20 74 68 65 6e | 0d 20 20 20 20 20 20 20 | 0) then|. |
|000062a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 74 | | t|
|000062b0| 70 6f 73 20 3a 3d 20 6c | 65 6e 67 74 68 28 74 65 |pos := l|ength(te|
|000062c0| 6d 70 73 74 72 29 20 2b | 20 31 3b 0d 20 20 20 20 |mpstr) +| 1;. |
|000062d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 63 | | c|
|000062e0| 61 73 65 20 74 20 6f 66 | 0d 20 20 20 20 20 20 20 |ase t of|. |
|000062f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 31 20 3a 20 | | 1 : |
|00006300| 65 78 74 61 70 70 6e 61 | 6d 65 20 3a 3d 20 63 6f |extappna|me := co|
|00006310| 70 79 28 74 65 6d 70 73 | 74 72 2c 31 2c 74 70 6f |py(temps|tr,1,tpo|
|00006320| 73 20 2d 20 31 29 3b 0d | 20 20 20 20 20 20 20 20 |s - 1);.| |
|00006330| 20 20 20 20 20 20 20 20 | 20 20 20 32 20 3a 20 65 | | 2 : e|
|00006340| 78 74 61 70 70 61 72 6d | 73 20 3a 3d 20 63 6f 70 |xtapparm|s := cop|
|00006350| 79 28 74 65 6d 70 73 74 | 72 2c 31 2c 74 70 6f 73 |y(tempst|r,1,tpos|
|00006360| 20 2d 20 31 29 3b 0d 20 | 20 20 20 20 20 20 20 20 | - 1);. | |
|00006370| 20 20 20 20 20 20 20 20 | 20 20 65 6e 64 3b 20 7b | | end; {|
|00006380| 20 63 61 73 65 73 20 7d | 0d 20 20 20 20 20 20 20 | cases }|. |
|00006390| 20 20 20 20 20 20 20 20 | 20 20 20 20 69 66 20 74 | | if t|
|000063a0| 70 6f 73 20 3c 20 6c 65 | 6e 67 74 68 28 74 65 6d |pos < le|ngth(tem|
|000063b0| 70 73 74 72 29 20 74 68 | 65 6e 0d 20 20 20 20 20 |pstr) th|en. |
|000063c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000063d0| 20 64 65 6c 65 74 65 28 | 74 65 6d 70 73 74 72 2c | delete(|tempstr,|
|000063e0| 31 2c 74 70 6f 73 29 20 | 65 6c 73 65 0d 20 20 20 |1,tpos) |else. |
|000063f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.